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

WordPress Trac noreply at wordpress.org
Thu Dec 22 21:21:15 UTC 2016


#39377: wpautop add a extra </p>
--------------------------+-----------------------------
 Reporter:  pbearne       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I am seeing similar problem  this code

 {{{#!php
 <?php
 wpautop( '<div><span></span><div></div></div>' );
 }}}

 renders

 {{{
  "<div><span></span></p>
 <div></div>
 </div>
 "
 }}}

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


More information about the wp-trac mailing list