[Pmwiki-users] Markup to prevent parsing of indented(PRE) text
Val Sharp
val
Mon Nov 1 11:39:16 CST 2004
I was surprised to discover that indented text (i.e. rendered as a
<pre> element) is still being parsed for PmWiki markup, so I had a go
at creating something to prevent that:
Markup('^ [=','<\\r','/^ (.*?)$/',' [=$1=]');
It seems to do the job, but since I'm new to PmWiki and php reg
expressions, etc, I just thought I'd check it's not likely to have any
unforeseen consequences.
--
Best regards,
Val Sharp
PmWiki2.0 Website - http://www.valsharp.co.uk
More information about the pmwiki-users
mailing list