[pmwiki-users] Custom markup and htmlspecialchars
manimani at gmail.com
Tue Jan 20 19:19:54 CST 2009
I'm trying to create a markup recipe which takes some transliterated text
it into Unicode characters according to a set of regular expression rules.
(This is useful
for languages that are easy to enter as transliterated text, such as Indic
or Indian languages).
For example, I have the rule:
and Tamilize() uses preg_replace() to transform the text.
The problem is that I'd like to mix this new markup with conventional PmWiki
make it easy to enter this text. For example:
(:t first line
-> second line)
where the "second line" would be indented.
Unfortunately, PmWiki transforms '>' into the html entity '>' before my
markup takes effect
and the characters 'g' and 't' are also transformed, and the markup doesn't
have the intended
I've tried moving the location to other places in the markup hierarchy,
including '_begin', to no
Can anyone help here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users