[wp-trac] [WordPress Trac] #6870: Nest Q[uotation] elements mishandled by preprocessor, possibly trashing entry.

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 29 09:37:54 GMT 2008


#6870: Nest Q[uotation] elements mishandled by preprocessor, possibly trashing
entry.
------------------------+---------------------------------------------------
 Reporter:  oeconomist  |       Owner:  anonymous                           
     Type:  defect      |      Status:  new                                 
 Priority:  normal      |   Milestone:  2.7                                 
Component:  General     |     Version:  2.5.1                               
 Severity:  normal      |    Keywords:  posting, editor, Q[uotation] element
------------------------+---------------------------------------------------
 In HTML, one is allowed to nest Q[uotation] elements within Q[uotation]
 element.  The WordPress editor sees nested quotation elements as in error,
 and attempts to fix things by closing the outer element when it reaches
 the inner element.  I note also that a spurious DIV-closing tag may be
 placed at the end of an entry containing nested Q[uotation] elements,
 causing the rest of the 'blog page to be rendered incorrectly.  Users are
 forced either to forgo best HTML practice, or to bypass the WordPress
 editor to fix the entry.

 (Bug was also found in Version 2.5.)

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


More information about the wp-trac mailing list