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

       Web browser: ---
            Bug ID: 58001
           Summary: Misnested endnote markup
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

http://parsoid-lb.eqiad.wikimedia.org/enwiki/Durian?oldid=582846792 contains
the following markup for endnote 'a' (in the "Flavour and odour" section):

<sup class="reference" id="ref_anone"><a rel="mw:WikiLink"
href="./Durian#endnote_anone">[a</a>]</sup>

Note that the close square bracket is not properly included in the <a> tag.

The PHP parser generates the following (at
https://en.wikipedia.org/wiki/Special:Redirect/revision/582846792 ):

<sup class="reference" id="ref_anone"><a href="#endnote_anone">[a]</a></sup>

Note:

1) the PHP output places the close square bracket correctly
2) the PHP output uses a document relative href (it doesn't reload the page
when followed)

-- 
You are receiving this mail because:
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