<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18023" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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. </FONT><FONT face=Arial size=2>But is seems 
to me that there is a bug because $MarkupRules is not declared as 
global.</FONT></DIV>
<DIV><FONT face=Arial size=2>I am wrong ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>================</FONT></DIV>
<DIV><FONT face=Arial size=2>function DisableMarkup() {<BR>&nbsp; global 
$MarkupTable;<BR>&nbsp; $idlist = func_get_args();<BR>&nbsp; 
unset($MarkupRules);<BR>&nbsp; while (count($idlist)&gt;0) 
{<BR>&nbsp;&nbsp;&nbsp; $id = array_shift($idlist);<BR>&nbsp;&nbsp;&nbsp; if 
(is_array($id)) { $idlist = array_merge($idlist, $id); continue; 
}<BR>&nbsp;&nbsp;&nbsp; $MarkupTable[$id] = array('cmd' =&gt; 'none', 
'pat'=&gt;'');<BR>&nbsp; }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2>================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>--------------------------<BR>Skrol29<BR><A 
href="http://www.tinybutstrong.com">www.tinybutstrong.com</A><BR>--------------------------</FONT></DIV></BODY></HTML>