Wikitext infobox description parameter has strange paragraph structure that adds break.
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The File:Roving bridge.svg Summary section has a description with numbered items. There is extra space between items 3 and 4.

What should have happened instead?:
There should not be an extra space.

The relevant wikitext is

File:Roving bridge.svg
{{Information
|Description=Changing towpaths without unhitching the tow line:
<br />1. Failure to consider the issue
<br />2. Tow line passing through a slot
<br />3. Running the path under the bridge
<br />4. Using a dedicated roving bridge
|Source={{own}}
|Date=
|Author= [[User:Cmglee|Cmglee]]
|Permission=
|other_versions=
}}

The resulting HTML has

HTML
<table class="fileinfotpl-type-information toccolours vevent mw-content-ltr" style="width: 100%; direction: ltr;" cellpadding="4">

<tbody><tr style="vertical-align: top">
<td id="fileinfotpl_desc" class="fileinfo-paramfield" lang="en">Description<span class="summary fn" style="display:none">Roving bridge.svg</span></td>
<td class="description">
<p>Changing towpaths without unhitching the tow line:
<br>1. Failure to consider the issue
<br>2. Tow line passing through a slot
<br>3. Running the path under the bridge
</p>
<br>4. Using a dedicated roving bridge</td>
</tr>

<tr style="vertical-align: top">
<td id="fileinfotpl_src" class="fileinfo-paramfield" lang="en">Source</td>
<td>
<span class="int-own-work" lang="en">Own work</span></td>
</tr>

<tr style="vertical-align: top">
<td id="fileinfotpl_aut" class="fileinfo-paramfield" lang="en">Author</td>
<td>
<a href="/wiki/User:Cmglee" title="User:Cmglee">Cmglee</a></td>
</tr>


</tbody></table>

Notice that the description= parameter is placed inside of a td element. Most of the description text is placed inside a p element except that line 4 is outside of that p element. That would put a paragraph break between lines 3 and 4.

If there is a p element, all the description text should go inside of it.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):