[pmwiki-users] (no subject)

Carlos AB cabsec.pmwiki at gmail.com
Thu Jun 2 23:18:27 CDT 2016


Hi,

I am doing a recipe called tagto, to be able to use html tags inside
PmWiki in a different way.

I have one small problem, even though I tried to take the html
processing entirelly out of the pmwiki flow of markup rules, I still
get this <:vspace> in the resulting code.

First there is a rule to Keep - just like the PmWiki function - the
html out of the code, and the last markup puts the code back and
translates it to html.

The rules are as follow:

Markup_e('keeptagto','<markup','/(\\[tagto\\].*?\\[tagtoend\\])/si',"KeepTagto(\$m[1])");

Markup_e('rtrvtagto','><:','/(.*)/s',"RtrvTagto(\$m[1])");

But I still get the <:vspace> tag . How can I get rid of it?

Carlos_AB



More information about the pmwiki-users mailing list