X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fbalise%2Fformulaire_.php;fp=www%2Fecrire%2Fbalise%2Fformulaire_.php;h=511978a002030939f35e4145a11690ef27f43e39;hp=f552351a75d46a197b92cdf72e37c4a3206a459f;hb=ac3048660a3889c33f121bf5a567654e674e543a;hpb=db106e5fbbef82fe8d4a95b1124113c2149ee37d diff --git a/www/ecrire/balise/formulaire_.php b/www/ecrire/balise/formulaire_.php index f552351a..511978a0 100644 --- a/www/ecrire/balise/formulaire_.php +++ b/www/ecrire/balise/formulaire_.php @@ -2,7 +2,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2012 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -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 = spip_htmlspecialchars($texte,ENT_QUOTES); } } return $texte;