Opened 7 years ago
Closed 5 years ago
#42410 closed defect (bug) (duplicate)
wpautop() breaks HTML (missing start tag p)
Reported by: | mar1in | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | Formatting | Keywords: | |
Focuses: | Cc: |
Description
Steps to reproduce:
- Create new page with the following content:
<ul> <li>Text <!-- Comment --> <ol></ol></li> </ul>
- 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>
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #27350.