Nested <sub> tags do not render properly (tidy)
Closed, ResolvedPublic


Author: dywiki

See above url: Wikitext says "''E''<sub>&lambda;<sub>''i''</sub></sub>", but
renders as "<em>E</em><sub>λ</sub><em>i</em> "

Skin is Col Blue, Mozilla Firefox 0.8.

Version: unspecified
Severity: normal


Unknown Object (Diffusion Commit)
bzimport set Reference to bz599.
bzimport added a subscriber: Unknown Object (MLST).
brion added a comment.Jun 2 2005, 5:32 AM

MediaWiki currently renders nested <sub> tags just fine, but tidy is rejecting it and
rewriting the output.

I'm not sure why; accepts it just fine. May be a bug in tidy.

j.niesen wrote:

I reported this as a bug of tidy at SourceForge
here]. As a result, it is now fixed in the CVS version of tidy with
this patch].

Changing product to "Wikimedia web sites" as tidy need an upgrade
(if we still use it on the site).

brion added a comment.Oct 25 2005, 9:26 PM
  • Bug 3793 has been marked as a duplicate of this bug. ***
brion added a comment.Feb 26 2006, 1:14 AM
  • Bug 5084 has been marked as a duplicate of this bug. ***

gangleri wrote:

The original code (both variants) from comment 1 is available at

j.niesen wrote:

*** Bug 108 has been marked as a duplicate of this bug. ***

Still present on live site.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM

Add Comment