[SPIP] ~v3.0.12-->3.0.13
[ptitvelo/web/www.git] / www / ecrire / balise / formulaire_.php
index f552351..b5a106d 100644 (file)
@@ -42,7 +42,7 @@ function protege_champ($texte){
                        AND $texte
                        AND strpbrk($texte, "&\"'<>")!==false
                        ) {
-                               $texte = htmlspecialchars(echappe_retour(echappe_html($texte,'',true),'','proteger_amp'),ENT_QUOTES);
+                               $texte = htmlspecialchars($texte,ENT_QUOTES);
                }
        }
        return $texte;