Hi,
I am creating a custom parser, in order to show dokuwiki content in my website. Let's call it "arkanaxhtml". This is the way I call it:
$output = p_render('arkanaxhtml',p_get_instructions($pagesource), $info = array());
And it works well.
The problem is when it uses syntax plugins, they seem not to be processed during the rendering.
In order to check that it's not an error in my renderer, I first just gave 'xhtml' to the above function call, and see, the syntax elements that are processed by syntax plugins were indeed processed by their plugins.
Next, I did the following:
cp wiki/inc/parser/xhtml.php wiki/inc/parser/myhtml.php
Then, in myhtml replace (nearly) all occurences of "xhtml" by "myhtml", and call the p_render like above, with now 'myhtml'. Thus the parser code is exactly the same as xhtml. And guess what: no content coming from the syntax plugins!
How comes? What am I doing wrong? I just want the custom renderer to use syntax plugins too! Please help.