Last modified: 2011-04-14 15:14:28 UTC
Whenever you have centered heading (==<center>Heading</center>==), then it somehow changes following tags in HTML so that they contain <span class="mw-headline" id="Heading">(usual text)</span> that they shouldn't. In case of unordered list (ordered list works the same as other tags) this causes insetion of <li style="list-style-type: none; list-style-image: none; list-style-position: outside;"><span class="mw-headline" id="Heading"></span></li> after every item. This probably shouldn't be visible, but Internet Expolorer seems to ignore that style and so shows an empty list item after every normal item. Example: ==<center>Heading</center>== * foo is rendered as: <h2><span class="mw-headline" id="Heading"></span></h2> <center> <h2>Heading</h2> </center> <ul> <li><span class="mw-headline" id="Heading">foo</span></li> <li style="list-style-type: none; list-style-image: none; list-style-position: outside;"><span class="mw-headline" id="Heading"></span></li> </ul>
Probably worth noting that the page in question is: http://en.wikipedia.org/w/index.php?title=Wikipedia:Template_messages&oldid=316046939 And that the heading markup is used in a table.
So far I've been unable to reproduce this in a local installation. Seems like a Tidy-related bug (which I can't get working locally).
Okay, I was finally able to reproduce locally. Results with Tidy enabled: ==<center>foo</center>== *bar r52962: <p><a name="foo" id="foo"></a></p> <center> <h2>foo</h2> </center> <ul> <li><span class="mw-headline">bar</span></li> </ul> r52963-r53576: <h2 id="foo"></h2> <center> <h2 id="foo">foo</h2> </center> <ul> <li><span class="mw-headline">bar</span></li> </ul> r53577: <h2><span class="mw-headline" id="foo"></span></h2> <center> <h2>foo</h2> </center> <ul> <li><span class="mw-headline" id="foo">bar</span></li> <li style="list-style: none"><span class="mw-headline" id="foo"></span></li> </ul> This looks like a Tidy quirk/bug to me.