I'm using a syntax pluggin to provide me with a set of regex search results from my wiki.
I then want to write out the results. At the moment I'm doing this:
// Result with page reference after each find/match
$renderer->doc .= '<p>'.$value.'</br>'.'<a href="'.wl($page).'">'.p_get_metadata($page, "title", 2).'</a></p>';
However, the output contains the raw wiki markup, for example:
**//Here is a result from the regex expression//** \\ <fc green>§245 "this is a quote"</fc> \\ this quote is very interesting. See [[http://www.here.com|here]] for more info.
as opposed to the desired result:
Here is a result from the regex expression
§245 "this is a quote"
this quote is very interesting. See
here for more info.
Is there any way to call back on the dokuwiki parser / renderer?
I've tried
$renderer->doc .= '<p>'.html_show($value).'</p>';
but this presents the results as a preview page???
Any help much appreciated.
anton
More info...I'm using the SearchPattern plugin, with the option to provide my own renderer of a regex. The regex works, its just getting the results to display that I can't get right.
Thanks!