X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Ftypographie%2Ffr.php;fp=www%2Fecrire%2Ftypographie%2Ffr.php;h=a34bb3a4ed5b8313a3b567d7f5aac91cf5fae15d;hp=1288a626125d5c4da223426c036c94dfc967599b;hb=b97874b04ea8ca43d21b7ef7309feff8ef0e4a07;hpb=92c7d7f7bccb9629bb7c81b9582b56b61c3f8ec9 diff --git a/www/ecrire/typographie/fr.php b/www/ecrire/typographie/fr.php index 1288a62..a34bb3a 100644 --- a/www/ecrire/typographie/fr.php +++ b/www/ecrire/typographie/fr.php @@ -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(