[wp-trac] [WordPress Trac] #1706: wpautop() not stripping <br /> tags before <p withattributes>

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 1 22:04:45 UTC 2011


#1706: wpautop() not stripping <br /> tags before <p withattributes>
--------------------------+-----------------------
 Reporter:  rockinfree    |       Owner:  mdawaffe
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.0.6
Component:  Formatting    |     Version:  2.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+-----------------------
Changes (by nacin):

 * keywords:  needs-unit-tests =>
 * status:  new => closed
 * resolution:   => fixed
 * milestone:  Future Release => 2.0.6


Comment:

 > Most HTML includes line breaks through out it to easy readability. If
 within paragraph tags, the best assumption is that new lines <br />s will
 be explictly defined.

 This is not related to the initial bug report, nor is it something that we
 would ever address at this point, as automatic line breaks are integral to
 wpautop.

 Considering this fixed on 2.0.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/1706#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list