[wp-trac] [WordPress Trac] #40135: wpautop adds a extra </p>
WordPress Trac
noreply at wordpress.org
Fri Mar 2 20:16:31 UTC 2018
#40135: wpautop adds a extra </p>
-----------------------------------+------------------------------
Reporter: jim5471 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.7.3
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Changes (by ayubi):
* keywords: => has-patch 2nd-opinion
Comment:
More information About test:
1- Firstly I entered some inline HTML without any whitespace including
<img /> using only text mode on the editor and saved directly!
2- then i checked post source and i found that wpautop has added <p></p>
after ending <img /> tag.
3- After some research added a new Regex line at /wp-
includes/formating.php and tested again with same process and Bug has been
resolved
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40135#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list