Page MenuHomePhabricator

line break breaks style attribute in some divs
Closed, ResolvedPublic

Description

There is some strange behaviour when rendereng div tags with line breaks in the
style attributes for div tags. For some reason "<p>" is inserted before
"background-color:" in the HTML that the following code renders (on Wikimedia
wikis):

<div style="border:1px solid #8888AA;
background-color: #FF0000;">
text</div>

but if the text follows the div on the same line the rendering is OK.


Version: unspecified
Severity: normal
URL: http://sv.wikisource.org/w/index.php?title=Anv%C3%A4ndare:EnDumEn/Test&oldid=5779

Details

Reference
bz6234

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:17 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz6234.