On 27/09/2012 07:56, Aran Dunkley wrote:
Hello, does anyone here know why the parser insists on
adding <p> tags
to HTML results returned by parser functions?
I'm trying to upgrade the TreeAndMenu extension to work with MediaWiki
1.19 and I can't get the parser to stop adding <p> tags throughout the
result returned by the parser-function expansion.
I've said isHTML = true and tried setting noparse to true and many other
things, but what ever I do - even removing all whitespace, it still adds
<p>'s!
Is it inserting extra linebreaks? I don't really know anything about
what you're working with specifically, but general wikitext can be
really thrown off by an unexpected linebreak.
--
-— Isarra