Last modified: 2010-05-15 15:33:10 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 T4440, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.4.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.

e.g.
... 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.


Navigation
Links