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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 16 20:46:58 GMT 2006


#3362: Missing <p> tag from <blockquote> (as well as extra <br /> sometimes)
invalidates xhtml
----------------------------+-----------------------------------------------
 Reporter:  upekshapriya    |       Owner:  anonymous                            
     Type:  defect          |      Status:  new                                  
 Priority:  normal          |   Milestone:                                       
Component:  Administration  |     Version:  2.0.5                                
 Severity:  normal          |    Keywords:  blockquote xhtml validation paragraph
----------------------------+-----------------------------------------------
 Wordpress 2.0.5 always seems to miss off the opening <p> tag inside a
 <blockquote> (and if it is embedded in text adds a <br /> tag before the
 <blockquote>) which invalidates XHTML

 The following text (with a break before the blockquote):

 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; </blockquote> Text after
 block quote that doesn't go on and on.<br />

 becomes:

 <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 /> <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>

 With a blockquote at the beginning (and no break character before):

 <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; </blockquote> Text after
 block quote that doesn't go on and on. <br />  <br /> Just separated by
 some break characters

 becomes:

 <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>
 <p> Just separated by some break characters
 </p>

 Text before blockquote (with a break before the quote):

 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; </blockquote>

 becomes:

 <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 /> <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>

 Blockquote at the end (without a break before the quote):

 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: <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; </blockquote>

 becomes:

 <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>

 Blockquote on its own:

 <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; </blockquote>

 becomes

 <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>

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


More information about the wp-trac mailing list