Changeset 94499 in spip-zone
- Timestamp:
- Jan 7, 2016, 1:55:45 PM (5 years ago)
- Location:
- _plugins_/convertisseur/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/convertisseur/trunk/inc/convertisseur.php
r94498 r94499 8 8 9 9 function nettoyer_format($t) { 10 11 // Lettrine avec ital ex : //«~J{e ne suis pas // «C{’est comme la 12 $t = preg_replace("/^([« ~]*\w)\{/Um","{\\1", $t); 10 13 11 14 // resserrer les {} … … 31 34 $t = str_replace("\xc2\xab~", "\xc2\xab ", $t); # << 32 35 $t = str_replace ("\xe2\x80\x93", '--', $t); # tiret long 33 34 // Lettrine avec ital ex : //«~J{e ne suis pas35 $t = preg_replace("/^([«\s~]*\w)\{/","{\\1", $t);36 36 37 37 // supprimer les insecables sauf dans les nombres, -
_plugins_/convertisseur/trunk/spip-cli/Quark_xmlConvert.php
r94498 r94499 119 119 include_spip("inc/charsets"); 120 120 $article = translitteration($article); 121 122 121 $article = preg_replace(',[^\w-]+,', '_', $article); 123 122 $article = preg_replace(',_xml$,', '.xml', $article);
Note: See TracChangeset
for help on using the changeset viewer.