Changeset 93750 in spip-zone
- Timestamp:
- Dec 17, 2015, 3:25:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/convertisseur/trunk/extract/quark_xml.php
r93747 r93750 224 224 225 225 if($item["notes"]) 226 $item["texte"] = $item["texte"] . " \n\n\n\n" . "[[<>\n" . $item["notes"] ."]]" ;226 $item["texte"] = $item["texte"] . "[[<>\n" . $item["notes"] ."]]" . "\n" ; 227 227 228 228 $item["auteurs"] = preg_replace("/\.\s*$/","",$item["auteurs"]); … … 311 311 312 312 // entites inventées 313 // espace fine313 // espaces fines ou insécables 314 314 $texte = str_replace("&flexSpace;", "~", $texte); 315 $texte = str_replace("&sixPerEmSpace;", "~", $texte); 316 $texte = str_replace("&punctSpace;", "~", $texte); 317 $texte = str_replace("&thinsp;", "~", $texte); 318 $texte = str_replace("&nbsp;", "~", $texte); 319 $texte = str_replace(" ", "~", $texte); 320 315 321 // cesures 316 322 $texte = str_replace("&discHyphen;", "", $texte); 317 323 // autre 318 $texte = str_replace("&punctSpace;", "~", $texte);319 $texte = str_replace("&thinsp;", "~", $texte);320 324 $texte = str_replace("&ndash;", "—", $texte); 321 325 $texte = str_replace("&softReturn;", " ", $texte); 322 $texte = str_replace("&nbsp;", "~", $texte);323 $texte = str_replace(" ", "~", $texte);324 326 325 327
Note: See TracChangeset
for help on using the changeset viewer.