Page MenuHomePhabricator

{{DEFAULTSORT}} at end of page should not generate extra <p><br/></p>
Open, LowPublic

Description

What happens:

Wikitext:

Page content

{{DEFAULTSORT:page}}

Generated HTML:

<p>Page content</p>
<p><br/></p>

Expected result:

Only <p>Page content</p>

Note that it works as expected when adding a category after DEFAULTSORT.


Version: 1.23.0
Severity: normal

Details

Reference
bz61013

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:05 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz61013.
bzimport added a subscriber: Unknown Object (MLST).