X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fecrire%2Finc%2Ftexte.php;h=af706b3e931b1105e03a0392a1fff124b979a996;hb=refs%2Ftags%2F3.0.0;hp=a6168ad9361cfeb72c32aaea1fba0ed79c4fe4db;hpb=bca3db9e1ab94e469b01f7e994a5e095de5f88c4;p=ptitvelo%2Fweb%2Fwww.git diff --git a/www/ecrire/inc/texte.php b/www/ecrire/inc/texte.php index a6168ad..af706b3 100644 --- a/www/ecrire/inc/texte.php +++ b/www/ecrire/inc/texte.php @@ -3,7 +3,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. * @@ -69,7 +69,7 @@ function echappe_js($t,$class=' class="echappe-js"') { if (preg_match_all(',".nl2br(htmlspecialchars($regs[0])).'', + "".nl2br(spip_htmlspecialchars($regs[0])).'', $t); return $t; }