[wp-trac] [WordPress Trac] #42410: wpautop() breaks HTML (missing start tag p)
WordPress Trac
noreply at wordpress.org
Wed Nov 1 23:31:20 UTC 2017
#42410: wpautop() breaks HTML (missing start tag p)
--------------------------+-----------------------------
Reporter: mar1in | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Steps to reproduce:
1. Create new page with the following content:
{{{
<ul>
<li>Text
<!-- Comment -->
<ol></ol></li>
</ul>
}}}
2. Preview post and inspect HTML output
Expected result:
{{{
<ul>
<li>Text<br />
<!-- Comment -->
<ol></ol>
</li>
</ul>
}}}
Actual result:
{{{
<ul>
<li>Text<br />
<!-- Comment --></p>
<ol></ol>
</li>
</ul>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42410>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list