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