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

WordPress Trac wp-trac at lists.automattic.com
Fri May 15 00:59:52 GMT 2009


#3833: Extra </p> inside blockquote
-------------------------------------+--------------------------------------
 Reporter:  audwan                   |        Owner:  Archibald Leaurees
     Type:  defect (bug)             |       Status:  new               
 Priority:  normal                   |    Milestone:  2.8               
Component:  Formatting               |      Version:  2.7               
 Severity:  normal                   |   Resolution:                    
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------

Comment(by azaozz):

 Don't think it's a good idea to `preg_split()` on a `\n` followed by a
 white space. That would affect a lot of the internal workings of wpautop.
 It is affected by line breaks in the html formatting and the workaround is
 to keep that formatting to a minimum. It works when using the visual
 editor as all html formatting is removed there when saving.

 IMHO to go ahead with this and all of the wpautop related patches, we will
 need comprehensive unit tests first.

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


More information about the wp-trac mailing list