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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 28 14:16:30 GMT 2008


#7988: wpautop p (paragraph) bug with div
--------------------------------------------+-------------------------------
 Reporter:  filosofo                        |        Owner:  anonymous
     Type:  defect                          |       Status:  new      
 Priority:  normal                          |    Milestone:  2.7      
Component:  General                         |      Version:  2.7      
 Severity:  normal                          |   Resolution:           
 Keywords:  wpautop p formatting has-patch  |  
--------------------------------------------+-------------------------------
Comment (by filosofo):

 In case you're wondering why not do {{{(?!\s*)}}} instead of
 {{{\s*?(?!\s)}}}, it's because the Perl regex family (including PHP's
 {{{preg_replace}}}) does not support indefinite-length patterns in
 lookarounds.

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


More information about the wp-trac mailing list