[wp-trac] Re: [WordPress Trac] #3833: Extra </p> inside blockquote

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 31 20:32:49 GMT 2007

#3833: Extra </p> inside blockquote
 Reporter:  audwan                                  |        Owner:  anonymous
     Type:  defect                                  |       Status:  reopened 
 Priority:  low                                     |    Milestone:           
Component:  Administration                          |      Version:  2.3.1    
 Severity:  normal                                  |   Resolution:           
 Keywords:  blockquote invalid list paragraph tags  |  
Changes (by Goingthewongway):

  * status:  closed => reopened
  * version:  2.1 => 2.3.1
  * resolution:  worksforme =>


 On version 2.3.1 this is still an issue.

 For example, a post with only <blockquote>some quote</blockquote> will
 result in <blockquote>some quote</p></blockquote>, which is invalid XHTML.

 This seems to me to be a result of:

 1. formatting.php:78  $pee = str_replace('</blockquote></p>',
 '</p></blockquote>', $pee);
 2. not having/not adding an opening "<p>" tag at the beginning of the post
 (even though it does get added for other all-text entries)

Ticket URL: <http://trac.wordpress.org/ticket/3833#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list