Opened 9 years ago
Closed 7 years ago
#42410 closed defect (bug) (duplicate)
wpautop() breaks HTML (missing start tag p)
| Reported by: | mar1in | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | 4.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #27350.