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

           Summary: Mismatched tags in rendered HTML
           Product: MediaWiki
           Version: 1.16.0
          Platform: All
               URL: http://sourceforge.net/apps/mediawiki/dotnetwikibot/in
                    dex.php?title=Main_Page
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: rmor...@magma.ca


If you look at the HTML source for the URL above, you will see that the <code>
tag in the wiki source is incorrectly rendered as:

<p><code> 
</p>

This leaves the <code> tag unclosed (though it's later closed in a similar
mismatched block). While various tidiers will clean this in different ways,
those wikis that don't have tidying enabled, as above, will emit pages with
invalid HTML. Even for those that do, the handling of the tags changes from one
implementation to the next. (In testing the bug on different wikis, I found
unfixed, rendered as <p>&lt;code> and completely re-written inside of <pre>
tags, as is done on MW.)

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to