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

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 10 01:39:34 UTC 2010


#15367: WordPress strips multiple line breaks inside of <pre> tags
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.1            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 Write a post:

 {{{
 <pre>
 This


 is




 a
 test.
 </pre>
 }}}

 You end up with this:

 {{{
 <pre>
 This

 is

 a
 test.
 </pre>
 }}}

 Probably related to `wpautop()` I imagine.

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


More information about the wp-trac mailing list