Am 27.09.2012 22:23, schrieb Aran Dunkley: > 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 remember that I had similar problems with the parser adding unwanted <p> tags under special circumstances when my extension writes(adds) HTML to the output. https://bugzilla.wikimedia.org/show_bug.cgi?id=19226 Parser renders UI messages with up to one newline different from more
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
