[SPIP] ~v3.0.12-->3.0.13
[ptitvelo/web/www.git] / www / ecrire / typographie / fr.php
index 1288a62..a34bb3a 100644 (file)
@@ -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(