Last modified: 2012-05-03 02:42:48 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 T35845, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33845 - Headings become cursive in TOC when they contain an image
Headings become cursive in TOC when they contain an image
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.20.x
All All
: Unprioritized normal (vote)
: 1.19.0 release
Assigned To: Nobody - You can work on this!
http://labs.wikimedia.beta.wmflabs.or...
:
Depends on:
Blocks: 31217
  Show dependency treegraph
 
Reported: 2012-01-20 23:13 UTC by Thomas Bleher
Modified: 2012-05-03 02:42 UTC (History)
2 users (show)

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


Attachments

Description Thomas Bleher 2012-01-20 23:13:17 UTC
When headings contain an embedded image, they are rendered in italics in the Table of contents (TOC).

Reproduced locally using current trunk (r109643) and on labs: http://labs.wikimedia.beta.wmflabs.org/wiki/Headings_with_images

On the English wikipedia, the same input renders correctly (== all headings share the same font settings)
Comment 1 Antoine "hashar" Musso (WMF) 2012-01-21 13:45:19 UTC
This is caused by r102179 which allow <i.* tags.
Comment 2 Antoine "hashar" Musso (WMF) 2012-01-21 14:06:02 UTC
Similar issue with <blockquote> since r105284 allowed <b.* tags.
Comment 3 Platonides 2012-01-21 18:16:51 UTC
Fixed in r109682
Comment 4 Thomas Bleher 2012-01-21 18:43:12 UTC
Thanks everyone for the fast response and fix! It's now working correctly on my wiki!

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


Navigation
Links