[SPIP] ~version 3.0.7-->3.0.10
[ptitvelo/web/www.git] / www / plugins-dist / textwheel / typographie / fr.php
index b5b82f3..4de11e3 100644 (file)
@@ -61,7 +61,7 @@ function typographie_fr($t) {
        }
 
        /* 2 */
-       $t = preg_replace('/»| --?,|(?::| %)(?:\W|$)/S', '~$0', $t);
+       $t = preg_replace('/»| --?,|(?::(?!:)| %)(?:\W|$)/S', '~$0', $t);
 
        /* 3 */
        $t = preg_replace('/[!?][!?\.]*/S', "$pro~$0", $t, -1, $c);