I removed all line breaks from the code being text being returned - but
the confusing thing is that the content being returned is marked as
isHTML (not wikitext) so the parser should be leaving it alone
completely and not checking for line breaks.
On 27/09/12 16:39, Isarra Yos wrote:
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
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.