Last modified: 2006-08-31 17:08:47 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 T8815, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6815 - Excessive break after <poem>
Excessive break after <poem>
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-25 20:54 UTC by Aryeh Gregor (not reading bugmail, please e-mail directly)
Modified: 2006-08-31 17:08 UTC (History)
0 users

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


Attachments

Description Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-07-25 20:54:41 UTC
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).
Comment 1 Brion Vibber 2006-08-31 17:08:47 UTC
Applied in r16306.

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


Navigation
Links