fix wiki error with too many accents
[platal.git] / plugins / pmwiki.platalSkin.php
index 98f34fb..2ac91cb 100644 (file)
@@ -14,6 +14,10 @@ Markup('[[~platal', '<[[~', '/\[\[~([^|\]]*)\|([^\]]*)\]\]/e',
     'PreserveText("=", \'<a href="'.$globals->baseurl
     .'/fiche.php?user=$1" class="popup2">$2</a>\', "")');
 
+// prevent restorelinks before block apply (otherwise [[Sécurité]] will give
+//  .../S<span class='e9curit'>e9'>Sécurité</a>
+Markup('restorelinks','<%%',"//", '');
+
 ## [[#anchor]] in standard XHTML
 Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/e',
   "Keep(\"<a id='$1'></a>\",'L')");