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

WordPress Trac noreply at wordpress.org
Wed Jan 4 15:14:17 UTC 2017

#39377: wpautop adds a extra </p>
 Reporter:  pbearne                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Formatting                           |  Review
 Severity:  normal                               |     Version:  4.7
 Keywords:  has-unit-tests dev-feedback has-     |  Resolution:
  patch                                          |     Focuses:
Changes (by pbearne):

 * keywords:  has-unit-tests dev-feedback => has-unit-tests dev-feedback


 I had a quick look at the function again and saw that where are handling
 <option> to fix the same problem so I have been able to add similar code
 to strip line breaks before and after <span> elements and this works

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

More information about the wp-trac mailing list