[wp-trac] Re: [WordPress Trac] #2239: Nested pre/blockquote in li produces invalid XHTML

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 18 17:42:54 GMT 2007


#2239: Nested pre/blockquote in li produces invalid XHTML
------------------------------------------+---------------------------------
 Reporter:  Juergen                       |        Owner:  anonymous
     Type:  defect                        |       Status:  new      
 Priority:  normal                        |    Milestone:  2.4      
Component:  General                       |      Version:  2.0      
 Severity:  normal                        |   Resolution:           
 Keywords:  has-patch formatting wpautop  |  
------------------------------------------+---------------------------------
Changes (by pishmishy):

  * keywords:  needs-patch formatting => has-patch formatting wpautop

Comment:

 This is caused by the ordering of replacements in wpautop(). "\n\n" is
 purposely inserted by one rule and later replaced with a <p> by another.
 The patch reorders the rules to avoid this.

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


More information about the wp-trac mailing list