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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8265, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6265 - Sub tag not closed if it contains an unmatched ''
Sub tag not closed if it contains an unmatched ''
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
PC Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Jit...
: 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: ---


Attachments

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.


Navigation
Links