dépôts
/
ptitvelo
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPIP] ~version 3.0.7-->3.0.10
[ptitvelo/web/www.git]
/
www
/
plugins-dist
/
textwheel
/
typographie
/
fr.php
diff --git
a/www/plugins-dist/textwheel/typographie/fr.php
b/www/plugins-dist/textwheel/typographie/fr.php
index
b5b82f3
..
4de11e3
100644
(file)
--- 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);