Last modified: 2013-06-08 15:25:08 UTC
Found under MediaWiki 1.15 To reproduce: 1. Make a page with "<math>\int_A</math>" as its only content. 2. In LocalSettings.php set wgMimeType to "application/xhtml+xml" 3. Go to the created page. You get a parse error because an element is not closed, in this piece of code: "<p><span class="texhtml"></p>" The problem is the not closed span.
Works for me... I never even get this span in my output, can you clarify?
Well, you can look at that page on my wiki, which consists only of the wiki code <math>\int_A</math>: http://www.almacha.org/achawiki/index.php?title=XHTML_test_fail
The problem is not that the span is not closed, but that there is a <p></p> arround it. See the complete source: <p><span class="texhtml"> </p> <table> <tr style='text-align: center;'><td><span style='font-size: x-large; font-family: serif;'>∫</span></td></tr> <tr style='text-align: center; vertical-align: top;'><td><i>A</i></td></tr> </table> <p></span> </p> Could reproduce locally if tidy is disabled.
Ok. So is it not a bug because I should use tidy if I want XHTML or is it still a bug because it should nevertheless produce correct XHTML?
This is a bug because it should produce correct XHTML. :)