X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=www%2Fplugins-dist%2Fsafehtml%2Finc%2Fsafehtml.php;h=c2c71f9aac275186e6eb12751d6b5e0a5d473232;hb=cc641eb476987612f6d6df1a5417c1c5582a8ab8;hp=ad634e21a5858d350a9c718cd49b6dfb60ca91c1;hpb=a33c2ba9d919664b3bb0f565f8e9a8b9d8530cdb;p=lhc%2Fweb%2Fclavette_www.git diff --git a/www/plugins-dist/safehtml/inc/safehtml.php b/www/plugins-dist/safehtml/inc/safehtml.php index ad634e2..c2c71f9 100644 --- a/www/plugins-dist/safehtml/inc/safehtml.php +++ b/www/plugins-dist/safehtml/inc/safehtml.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2016 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -15,7 +15,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; // Controle la presence de la lib safehtml et cree la fonction // de transformation du texte qui l'exploite -// http://doc.spip.org/@inc_safehtml_dist +// http://code.spip.net/@inc_safehtml_dist function inc_safehtml_dist($t) { static $process, $test; @@ -50,7 +50,7 @@ function inc_safehtml_dist($t) { $t = entites_html($t); // tres laid, en cas d'erreur // supprimer un
  • provenant d'un
  • ouvrant seul+safehtml - // cf http://core.spip.org/issues/2201 + // cf https://core.spip.net/issues/2201 $t = str_replace("
  • ","",$t); return $t;