Page MenuHomePhabricator

Paragraph due to <poem compact> tag
Closed, DeclinedPublic

Description

Author: giro720

Description:
The <poem compact> tag add an unecessary paragraph (<p>) after the first line and close it before the last one. For example

<poem compact>
One,
Two.
Three?
Four!
</poem>

returns

<div class="poem">One,<br />
<p>Two.<br />
Three?<br /></p>
Four!</div>


Version: unspecified
Severity: normal

Details

Reference
bz14910

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:14 PM
bzimport set Reference to bz14910.
bzimport added a subscriber: Unknown Object (MLST).

ssanbeg wrote:

OK, I think I found the real problem, fixed in r43773.

TTO added a subscriber: TTO.

The compact attribute for <poem> is going to be removed soon as part of work on T54061. No-one seems to know why it exists or exactly what it is meant to do, and it is clearly broken in its current implementation (it makes the poem less compact).

English Wikisource no longer uses it as it caused other issues which were resolved by simply using <poem>. This shouldn't be an issue