Hello,
Between PmWiki versions 2.1.27 (that I have in production) and 2.2.0-beta65
(the last available), I have the same code for the function DisableMarkup(),
see below. But is seems to me that there is a bug because $MarkupRules is not
declared as global.
I am wrong ?
================
function DisableMarkup() {
global $MarkupTable;
$idlist = func_get_args();
unset($MarkupRules);
while (count($idlist)>0) {
$id = array_shift($idlist);
if (is_array($id)) { $idlist = array_merge($idlist, $id); continue; }
$MarkupTable[$id] = array('cmd' => 'none', 'pat'=>'');
}
}
================
Regards,
--------------------------
Skrol29
www.tinybutstrong.com
--------------------------
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users