[wp-trac] [WordPress Trac] #63148: wpautop() formatting function generate invalid HTML if the text end with an empty <p> tag
WordPress Trac
noreply at wordpress.org
Mon Dec 1 12:45:07 UTC 2025
#63148: wpautop() formatting function generate invalid HTML if the text end with an
empty <p> tag
-------------------------------------------------+-------------------------
Reporter: gillesdoge | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-test-info has-patch needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by gillesdoge):
I will try write some PHPUnit tests to reproduce the issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63148#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list