X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27static%27%2C%20filename=%27css/%40url%40?a=blobdiff_plain;f=www%2Fplugins-dist%2Ftextwheel%2Ftypographie%2Ffr.php;h=4de11e3a6fb3ed7df82340777e193b0839a328df;hb=f489d45ae677afde12ba9c9f70f463ea34787b45;hp=b5b82f30a726c347217e0b609fcc3ea8bce633ef;hpb=0dda6af18a04031b1ca8e217187966077e752fe3;p=ptitvelo%2Fweb%2Fwww.git diff --git a/www/plugins-dist/textwheel/typographie/fr.php b/www/plugins-dist/textwheel/typographie/fr.php index b5b82f3..4de11e3 100644 --- a/www/plugins-dist/textwheel/typographie/fr.php +++ b/www/plugins-dist/textwheel/typographie/fr.php @@ -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);