<!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> </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> </DIV>
<DIV><FONT face=Arial size=2>================</FONT></DIV>
<DIV><FONT face=Arial size=2>function DisableMarkup() {<BR> global
$MarkupTable;<BR> $idlist = func_get_args();<BR>
unset($MarkupRules);<BR> while (count($idlist)>0)
{<BR> $id = array_shift($idlist);<BR> if
(is_array($id)) { $idlist = array_merge($idlist, $id); continue;
}<BR> $MarkupTable[$id] = array('cmd' => 'none',
'pat'=>'');<BR> }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2>================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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>