[pmwiki-users] howto not show not suipported directives

Patrick R. Michaud pmichaud at pobox.com
Wed May 24 18:00:18 CDT 2006


On Wed, May 24, 2006 at 09:18:04PM +0200, noskule wrote:
> hi list
> If there is a directive in the wikitext that comes from a external that 
> isnt installet at the moment the directieve is shown as normal text. Is 
> there a way to avoid this? Means dont show ansything that looks like
>  (:<something>:)

Sure, if you want to suppress all directives that haven't otherwise
been processed:

    Markup('(:', '<restore', '/\\(:.*?:\\)/', '');

Pm





More information about the pmwiki-users mailing list