Page MenuHomePhabricator

Excessive break after <poem>
Closed, ResolvedPublic

Description

Author: ayg

Description:
On Wikimedia installs, "<poem>a</poem>b" renders as

<div class="poem">
<p>a</p>
<p><br></p>
</div>
<p>b</p>

The <p><br></p> is extraneous and should not be present; it adds a lot of extra
space. I can't reproduce the bug locally, but I'd guess that the way to solve
it would be

@63,1 63,1

  • $ret->getText() .

+ trim($ret->getText(),"\n") .

(against r15814).


Version: unspecified
Severity: normal

Details

Reference
bz6815

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport set Reference to bz6815.
bzimport added a subscriber: Unknown Object (MLST).