[wp-trac] [WordPress Trac] #40135: wpautop adds a extra </p>
WordPress Trac
noreply at wordpress.org
Sun Mar 12 21:36:17 UTC 2017
#40135: wpautop adds a extra </p>
--------------------------+------------------------------
Reporter: jim5471 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Import | Version: 4.7.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* component: General => Import
Old description:
> This is similar to bug reported here
> https://core.trac.wordpress.org/ticket/39307
>
> post content
>
> {{{
> <div><img src="/wp-content/uploads/example.jpg" alt="something"
> /><div>Something</div></div>
> }}}
>
> generated markup - note wrong </p> after <img>
> {{{
> <div><img src="/wp-content/uploads/example.jpg" alt="something" /></p>
> <div>Something</div>
> </div>
> }}}
New description:
This is similar to bug reported here #39307
post content
{{{
<div><img src="/wp-content/uploads/example.jpg" alt="something"
/><div>Something</div></div>
}}}
generated markup - note wrong </p> after <img>
{{{
<div><img src="/wp-content/uploads/example.jpg" alt="something" /></p>
<div>Something</div>
</div>
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40135#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list