X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Ftypographie%2Ffr.php;fp=www%2Fecrire%2Ftypographie%2Ffr.php;h=1243ea2afc7eb05bcada370637897e697cef5243;hp=1288a626125d5c4da223426c036c94dfc967599b;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/ecrire/typographie/fr.php b/www/ecrire/typographie/fr.php index 1288a626..1243ea2a 100644 --- a/www/ecrire/typographie/fr.php +++ b/www/ecrire/typographie/fr.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. * @@ -59,7 +59,7 @@ function typographie_fr_dist($letexte) { $cherche2 = array( '/([^-\n]|^)--([^-]|$)/S', - ',(http|https|ftp|mailto)~((://[^"\'\s\[\]\}\)<>]+)~([?]))?,S', + ',(' ._PROTOCOLES_STD . ')~((://[^"\'\s\[\]\}\)<>]+)~([?]))?,S', '/~/' ); $remplace2 = array(