[wp-trac] [WordPress Trac] #52833: Invalid html output from wpautop
WordPress Trac
noreply at wordpress.org
Wed Mar 17 13:22:26 UTC 2021
#52833: Invalid html output from wpautop
--------------------------+-----------------------------
Reporter: heretik | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 5.7
Severity: normal | Keywords:
Focuses: template |
--------------------------+-----------------------------
Hi,
i've noticed extra </p> tags all over the place on my site and traced the
problem to the wpautop function.
After bit of experimenting i can now reproduce this problem simply by
running wpautop function on this HTML snippet:
{{{
<div>
<div>
</div>
</div>
}}}
The result is:
{{{
<div>
<div>
</div>
</p></div>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52833>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list