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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 23 13:55:09 GMT 2007


#3647: wordpress automatically adds <p> and </p> tags to <code> blocks
----------------------+-----------------------------------------------------
 Reporter:  Znuff     |       Owner:  anonymous                  
     Type:  defect    |      Status:  new                        
 Priority:  high      |   Milestone:  2.1.1                      
Component:  Template  |     Version:  2.1                        
 Severity:  critical  |    Keywords:  xml, xhtml, auto-correcting
----------------------+-----------------------------------------------------
 wordpress 2.1 and the latest svn 2.2 adds automatically <p> and </p> tags
 inside <code> blocks. Sometimes it forgets to add <p> and leaves just
 </p>'s in the source and that breaks XHTML validation. It should leave
 <pre> and <code> tag blocks alone.

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


More information about the wp-trac mailing list