[wp-trac] Re: [WordPress Trac] #3647: wordpress automatically adds <p> and </p> tags to <code> blocks

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 25 21:08:54 GMT 2007


#3647: wordpress automatically adds <p> and </p> tags to <code> blocks
-----------------------------------------+----------------------------------
 Reporter:  Znuff                        |        Owner:  anonymous
     Type:  defect                       |       Status:  closed   
 Priority:  high                         |    Milestone:  2.1.1    
Component:  Template                     |      Version:  2.1      
 Severity:  critical                     |   Resolution:  invalid  
 Keywords:  xml, xhtml, auto-correcting  |  
-----------------------------------------+----------------------------------
Changes (by Znuff):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 My bad... you should use <code> inside <pre>, as <code> doesn't imply that
 the text is pre-formatted.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3647#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list