X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fbalise%2Fformulaire_.php;fp=www%2Fecrire%2Fbalise%2Fformulaire_.php;h=511978a002030939f35e4145a11690ef27f43e39;hp=b5a106dd1f2f76e9ac5447c2ab4d5dd240f26933;hb=5be150361b3c836d9206941ba43f862df11466db;hpb=bca3db9e1ab94e469b01f7e994a5e095de5f88c4 diff --git a/www/ecrire/balise/formulaire_.php b/www/ecrire/balise/formulaire_.php index b5a106d..511978a 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($texte,ENT_QUOTES); + $texte = spip_htmlspecialchars($texte,ENT_QUOTES); } } return $texte;