[wp-trac] [WordPress Trac] #40135: wpautop adds a extra </p>

WordPress Trac noreply at wordpress.org
Sun Mar 12 17:12:43 UTC 2017


#40135: wpautop adds a extra </p>
--------------------------+-----------------------------
 Reporter:  jim5471       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40135>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list