https://bugzilla.wikimedia.org/show_bug.cgi?id=20829

           Summary: Unordered list after <center>ed heading contains
                    additional <li>s
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
               URL: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28t
                    echnical%29#Table_weirdness
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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>


-- 
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

Reply via email to