Last modified: 2006-03-19 12:08:13 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 108 - TeX to HTML misplaces <sup> tag
TeX to HTML misplaces <sup> tag
Status: RESOLVED DUPLICATE of bug 599
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 140 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-08-16 06:02 UTC by Timwi
Modified: 2006-03-19 12:08 UTC (History)
3 users (show)

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

Simplified test case (315 bytes, image/png)
2004-08-17 20:46 UTC, Brion Vibber

Description Timwi 2004-08-16 06:02:34 UTC
Originally submitted by Nobody/Anonymous - nobody  2004-06-09 14:16


Now `e' and `-x' are placed properly, but `2' is placed
erroneously. The HTML produced is:

<tbody><tr align="center" valign="bottom">
<tr align="center">
<td><font size="+2"></font></td>
<td><i>e</i> <sup>-

<tr align="center" valign="top">

where instead of <sup>, a </sup> is produced before the

------------------------- Additional comments ------------------------
Date: 2004-06-09 14:17
Sender: nobody
Logged In: NO 

Oops, forgot to include:

bug submitted by Paddu
Date: 2004-08-07 04:08
Sender: SF user vibber

Put easier to reach sample at:
Comment 1 Rowan Collins [IMSoP] 2004-08-16 23:48:46 UTC
*** Bug 140 has been marked as a duplicate of this bug. ***
Comment 2 Timwi 2004-08-17 17:08:02 UTC
It would be really nice if someone could provide a sample TeX input string that
produces the bug. Please don't link to wiki pages because they tend to change.
Comment 3 Brion Vibber 2004-08-17 20:46:00 UTC
Created attachment 11 [details]
Simplified test case

Here's the TeX bit:

As you can see the PNG shows both exponents nicely. But the HTML output is

<span class="texhtml"><i>a</i><sup><i>b</i></sup><i>c</i></span>

The inner exponent isn't <sup>'d. (Rendering tested on
Comment 4 Jitse Niesen 2005-07-26 20:02:59 UTC
This seems to be the same as bug 599: texmf transforms
and tidy messes up the nested sup tags, transforming it to

If this analysis is correct, then the same fix as in 599 (upgrading tidy) applies.
Comment 5 Jitse Niesen 2006-03-19 12:08:13 UTC

*** This bug has been marked as a duplicate of 599 ***

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