On 28/05/06, FreeAll Support support@freeall.org wrote:
Hello all!
I am currently making few markup extensions, and I noticed a problem:
Let's say my extension tries to type the same word but in pink. Well, what I want is something like that:
Writing: "<pinky>Bla Bla [[something]]</pinky>" Will give me "Bla Bla SOMETHING" where something is a link. What I get instead is "Bla Bla [[something]]" with no link.
I should have seen it happening, but I still don't have a clue how to do it otherwise.
Your parser hook is passed a third argument; a reference to the calling parser. Use it to parse wiki markup further before passing it back out as HTML. Be careful that you don't end up causing recursion when doing so.
Rob Church