Last modified: 2008-10-06 06:58:53 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 T16052, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14052 - Imagemap's <map> enclose itself in <p>
Imagemap's <map> enclose itself in <p>
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-08 22:04 UTC by René Kijewski
Modified: 2008-10-06 06:58 UTC (History)
1 user (show)

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


Attachments

Description René Kijewski 2008-05-08 22:04:15 UTC
In http://de.wikipedia.org/w/index.php?title=Bezirk_Reinickendorf&oldid=45000892 the text starts on the same line as the thumbnailed imagemap, because the <map> and only the map is enclosed in a paragraph <p>. Firefox and Opera seem to ignore empty paragraphs, but IE 6+7 seem to take it as a clear:all.
Comment 1 Siebrand Mazeland 2008-08-17 22:11:01 UTC
Assigned to extension developer.
Comment 2 Tim Starling 2008-10-06 06:37:43 UTC
Appears to be some kind of tidy pathology.

> print Parser::tidy('<map>xyz</map><div>xyz</div>')
<p><map>xyz</map></p>
<div>xyz</div>

ImageMap is definitely not outputting any line breaks.
Comment 3 René Kijewski 2008-10-06 06:51:13 UTC
Hm, wouldn't it be possible not to write the map next to the image but in the HTML header?
Comment 4 Tim Starling 2008-10-06 06:58:53 UTC
Fixed in r41729.

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


Navigation
Links