[pmwiki-users] DisableMarkup()
chr at home.se
chr at home.se
Tue Feb 8 11:08:19 CST 2005
Hi, I couldn't find this in the latest pmwiki so I thought I'd remind you.
On Fri, 28 Jan 2005, Patrick R. Michaud wrote:
> Better might be:
>
> function DisableMarkup($markups) {
> global $MarkupTable, $MarkupRules;
> foreach ((array)$markups as $m)
> $MarkupTable[$m] = array('cmd'=>'none');
> unset($MarkupRules);
> }
>
> Differences:
...
> - DisableMarkup seems more descriptive than PreventMarkup
...
> I'll go ahead and add this function to the default distribution.
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list