https://bugzilla.wikimedia.org/show_bug.cgi?id=56233
Web browser: --- Bug ID: 56233 Summary: Newline added after expandTemplate Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Unprioritized Component: Scribunto Assignee: wikibugs-l@lists.wikimedia.org Reporter: francois.melch...@belgacom.net CC: bjor...@wikimedia.org, tstarl...@wikimedia.org, vasi...@gmail.com Classification: Unclassified Mobile Platform: --- It seems that a newline is added when transcluding a template that ends with <div> (at least). Passing it to mw.text.trim before returning works. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l