[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
Sat Mar 22 20:52:32 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: trunk
Severity: normal | Resolution:
Keywords: needs-patch has-testing-info | Focuses:
------------------------------------------+------------------------------
Changes (by SirLouen):
* keywords: => needs-patch has-testing-info
Comment:
== Reproduction Report
=== Description
This report validates that the issue can be reproduced.
=== Environment
- WordPress: 6.8-beta3-60042-src
- PHP: 8.2.28
- Server: nginx/1.27.4
- Database: mysqli (Server: 8.4.4 / Client: mysqlnd 8.2.28)
- Browser: Chrome 134.0.0.0
- OS: Windows 10/11
- Theme: Twenty Nineteen 3.0
- MU Plugins: None activated
- Plugins:
* Hello Dolly 1.7.2
* Test Reports 1.2.0
=== Actual Results
1. ✅ Error condition occurs (reproduced).
=== Supplemental Artifacts
[[Image(https://i.imgur.com/10qkA6o.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63148#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list