Last modified: 2010-05-15 15:33:10 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 2440 - Tex math formulae in image caption text gives misformed HTML
Tex math formulae in image caption text gives misformed HTML
Status: RESOLVED DUPLICATE of bug 1887
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-06-17 22:12 UTC by wiki-bugreport
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Description wiki-bugreport 2005-06-17 22:12:46 UTC
If you enter a text math formula, e.g. <math>y = x^2</math> as the caption for
an image (not a gallery image though), e.g. [[Image:whatever.png|<math>y =
x^2</math>]], some of the image's HTML attributes are shown as text on the page
because the caption includes a " as part of the image path when turned in to
HTML, and this HTML is used as the title attribute of the image.

... alt="<img class='tex'
src="/wiki/images/math/1234567890abcdef1234567890abcdef.png alt="y = {x^2} +
{x^3} - 3" />" longdesc="/wiki/index.php/Image:Plotgraph2.png" />
Comment 1 Ævar Arnfjörð Bjarmason 2005-06-17 22:48:58 UTC

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

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