Page MenuHomePhabricator

Imagemap's <map> enclose itself in <p>
Closed, ResolvedPublic

Description

Author: rene.kijewski

Description:
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.


Version: unspecified
Severity: normal

Details

Reference
bz14052

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:11 PM
bzimport added a project: ImageMap.
bzimport set Reference to bz14052.

Assigned to extension developer.

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.

rene.kijewski wrote:

Hm, wouldn't it be possible not to write the map next to the image but in the HTML header?

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:12 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:20 AM