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] ~v3.0.12-->3.0.13
[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
715765b
..
6075068
100644
(file)
--- a/
www/plugins-dist/textwheel/typographie/fr.php
+++ b/
www/plugins-dist/textwheel/typographie/fr.php
@@
-63,7
+63,7
@@
function typographie_fr($t) {
/* 2 ; ajout d'insecable */
$t = preg_replace('/»| --?,|(?::| %)(?:\W|$)/S', '~$0', $t);
/* 2 ; ajout d'insecable */
$t = preg_replace('/»| --?,|(?::| %)(?:\W|$)/S', '~$0', $t);
- // {
È
} guillemet en italiques : ne pas doubler l'insecable
+ // {
»
} guillemet en italiques : ne pas doubler l'insecable
$t = str_replace('~{~', '~{', $t);
$t = str_replace('~}~', '}~', $t);
$t = str_replace('~{~', '~{', $t);
$t = str_replace('~}~', '}~', $t);
@@
-87,7
+87,7
@@
function typographie_fr($t) {
$t = str_replace($pro, '', $t);
}
$t = str_replace($pro, '', $t);
}
- $t = preg_replace(',(
https?|ftp|mailto
)~((://[^"\'\s\[\]\}\)<>]+)~([?]))?,S', '$1$3$4', $t);
+ $t = preg_replace(',(
' ._PROTOCOLES_STD . '
)~((://[^"\'\s\[\]\}\)<>]+)~([?]))?,S', '$1$3$4', $t);
$t = str_replace('~', ' ', $t);
return $t;
$t = str_replace('~', ' ', $t);
return $t;