[wp-trac] Re: [WordPress Trac] #7988: wpautop p (paragraph) bug with div

WordPress Trac wp-trac at lists.automattic.com
Mon May 11 14:56:41 GMT 2009


#7988: wpautop p (paragraph) bug with div
----------------------------------------------------------+-----------------
 Reporter:  filosofo                                      |        Type:  defect (bug)
   Status:  new                                           |    Priority:  normal      
Milestone:  2.8                                           |   Component:  Formatting  
  Version:  2.7                                           |    Severity:  normal      
 Keywords:  wpautop p formatting has-patch needs-testing  |  
----------------------------------------------------------+-----------------

Comment(by Denis-de-Bernardy):

 cross-referencing a bit: #4298, #3833, #6041, #6984, #2833, #9437

 #3833 in particular is of interest.

 curious to know your thoughts on this idea:

 {{{
 $pee = preg_replace("/<\/?$blockelts\b[^>]+>/", "\n\n$0\n\n"0, $pee);
 }}}

 it might kill a few several birds in one go.

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


More information about the wp-trac mailing list