[wp-trac] Re: [WordPress Trac] #3362: Missing <p> tag from <blockquote> (as well as extra <br /> sometimes) invalidates xhtml

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 15 04:42:04 GMT 2008


#3362: Missing <p> tag from <blockquote> (as well as extra <br /> sometimes)
invalidates xhtml
---------------------------------------------------+------------------------
 Reporter:  upekshapriya                           |        Owner:  anonymous
     Type:  defect                                 |       Status:  reopened 
 Priority:  normal                                 |    Milestone:  2.5      
Component:  General                                |      Version:  2.0.5    
 Severity:  normal                                 |   Resolution:           
 Keywords:  blockquote xhtml validation paragraph  |  
---------------------------------------------------+------------------------
Changes (by DD32):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 Problem Still exists in trunk.

 Input:
 {{{
 Text before blockquote that goes on and on and on and on and on and on and
 on and on and on and on and on and on and on and on and on: <br />
 <blockquote> "Text withing blockquote that also goes on and on and on and
 on and on and on and on and on and on." </blockquote> Text after block
 quote that doesn't go on and on.<br />
 }}}

 Output:
 {{{
 <p>Text before blockquote that goes on and on and on and on and on and on
 and on and on and on and on and on and on and on and on and on: </p>
 <blockquote><p> &quot;Text withing blockquote that also goes on and on and
 on and on and on and on and on and on and on.&quot; </p></blockquote>
 <p> Text after block quote that doesn&#8217;t go on and on.</p>
 }}}

 (Works OK).

 Next:

 Input:
 {{{
 Text before blockquote that goes on and on and on and on and on and on and
 on and on and on and on and on and on and on and on and on: <br
 /><blockquote> "Text withing blockquote that also goes on and on and on
 and on and on and on and on and on and on." </blockquote> Text after block
 quote that doesn't go on and on.<br />
 }}}

 Output:
 {{{
 <p>Text before blockquote that goes on and on and on and on and on and on
 and on and on and on and on and on and on and on and on and on: <br />
 <blockquote> &quot;Text withing blockquote that also goes on and on and on
 and on and on and on and on and on and on.&quot; </p></blockquote>
 <p> Text after block quote that doesn&#8217;t go on and on.</p>
 }}}


 Both are identical inputs, Except the 1st includes a \n between <br> and
 <blockquote>

 However, ''Blockquote on its own:'' example given seems to work OK now.

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


More information about the wp-trac mailing list