[pmwiki-users] DisableMarkup()

Patrick R. Michaud pmichaud at pobox.com
Mon Feb 14 11:34:41 CST 2005


Added in beta21.

Pm

On Tue, Feb 08, 2005 at 06:08:19PM +0100, chr at home.se wrote:
> 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
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users



More information about the pmwiki-users mailing list