[SPIP] ~maj 3.0.13 -> 3.0.14
[ptitvelo/web/www.git] / www / ecrire / balise / formulaire_.php
index b5a106d..511978a 100644 (file)
@@ -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;