X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fecrire%2Ftypographie%2Ffr.php;fp=www%2Fecrire%2Ftypographie%2Ffr.php;h=1243ea2afc7eb05bcada370637897e697cef5243;hb=ac3048660a3889c33f121bf5a567654e674e543a;hp=1288a626125d5c4da223426c036c94dfc967599b;hpb=db106e5fbbef82fe8d4a95b1124113c2149ee37d;p=lhc%2Fweb%2Fwww.git 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(