Last modified: 2011-04-14 21:55:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6265 - Sub tag not closed if it contains an unmatched ''
Sub tag not closed if it contains an unmatched ''
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks: tidy
  Show dependency treegraph
Reported: 2006-06-10 14:59 UTC by Jitse Niesen
Modified: 2011-04-14 21:55 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Jitse Niesen 2006-06-10 14:59:53 UTC
The wikitext

   a<sub>b''</sub> should not be subscript

is translated to the HTML

   <p>a<sub>b should not be subscript</sub></p>   

on the English wikipedia. 

If $wgTidy is turned off, it yields wrongly nested tags:

   <p>a<sub>b<i></sub> should not be subscript</i>
Comment 1 Jitse Niesen 2007-08-18 10:16:33 UTC
This seems to be fixed now; see the URL.
Comment 2 Brion Vibber 2007-08-20 13:20:06 UTC
Still broken as of r24945.

Tidy may be handling it better, but we still get incorrect nesting out of MW.
Comment 3 DieBuche 2011-04-14 21:55:04 UTC
Fixed since. Current output:
<p>a<sub>b</sub> <i>should not be subscript</i></p>

Note You need to log in before you can comment on or make changes to this bug.