fix wiki error with too many accents
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 22 Jun 2006 23:54:35 +0000 (23:54 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 22 Jun 2006 23:54:35 +0000 (23:54 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@337 839d8a87-29fc-0310-9880-83ba4fa771e5

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')");