[wp-trac] [WordPress Trac] #15367: WordPress strips multiple line breaks inside of <pre> tags

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 5 18:31:32 UTC 2011


#15367: WordPress strips multiple line breaks inside of <pre> tags
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:  garyc40
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  normal                               |     Version:  3.1
 Keywords:  needs-patch 3.2-early wpautop        |  Resolution:
  needs-testing                                  |
-------------------------------------------------+-------------------------
Changes (by TomAuger):

 * keywords:  needs-patch 3.2-early wpautop => needs-patch 3.2-early wpautop
     needs-testing


Comment:

 My approach was to preserve all content inside <pre> tags from most of the
 substitution that occurs on the rest of the text. As a result, the call to
 clean_pre() is no longer necessary.

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


More information about the wp-trac mailing list