ok, i used the parser itself, not creating a local one. that solved this.
another question. the text returned by my taq is surrounded by a table, but it looks like
once it is returned, the table is not parsed:
{|
<my_tag>
<another_tag>...</another_tag>
</my_tag>
|}
(my_tag returns something like '|foo\n|-')
thanks for your help,
ittay
Ittay Dror wrote:
i created an extension as instructed in
http://meta.wikimedia.org/wiki/Extending_wiki_markup
i use it basically as:
<my_tag>
<another_tag>...</another_tag>
</my_tag>
the $input parameter to my function contains '<another tag>...</another
tag>', which i want to process:
$localParser = new Parser();
$output = $localParser->parse($input, $parser->mTitle, $parser->mOptions,
false);
but $output->getText() returns <another_tag>foo</another_tag>
how should i properly parse the text?
thanks,
ittay
--
===================================
Ittay Dror,
Chief architect,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning