X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Ftexte.php;h=af706b3e931b1105e03a0392a1fff124b979a996;hp=a6168ad9361cfeb72c32aaea1fba0ed79c4fe4db;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/ecrire/inc/texte.php b/www/ecrire/inc/texte.php index a6168ad9..af706b3e 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; }