https://bugzilla.wikimedia.org/show_bug.cgi?id=36018
--- Comment #2 from enomil <[email protected]> 2012-04-17 12:26:11 UTC --- The main problem is in the HtmlFormatter.php on line 220: $html = $this->doc->saveXML( $element, LIBXML_NOEMPTYTAG ); This generates valid XML with expanded empty tags (<br /> -> <br></br>, valid but confusing) but not HTML (see Comment 0 above). There are two ways to solve the issues. 1. use XHTML on MobileFrontend or 2. stript the closing elements for valid HTML. Other empty tags with forbidden end tag are: area, base, basefont, col, frame, hr, img, input, isindex, link, meta, param [1]. But I guess not all affect the generated layout so much. [1] http://www.w3.org/TR/html4/index/elements.html -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
