[wp-trac] [WordPress Trac] #33377: Wpautop may create extra <br> tags

WordPress Trac noreply at wordpress.org
Fri Aug 14 22:25:14 UTC 2015


#33377: Wpautop may create extra <br> tags
--------------------------+-----------------------------
 Reporter:  azaozz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Caused by removing the `<br>` tag normalization from `convert_chars()` and
 by the fact that wpautop() uses negative look behind to check for `<br />`
 followed by a line break.

 This is also broken in the JS wpautop.

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


More information about the wp-trac mailing list