[wp-trac] Re: [WordPress Trac] #4298: wpautop bugs

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 14 00:59:50 GMT 2008


#4298: wpautop bugs
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous
     Type:  defect             |       Status:  new      
 Priority:  normal             |    Milestone:  2.5      
Component:  Template           |      Version:  2.2      
 Severity:  normal             |   Resolution:           
 Keywords:                     |  
-------------------------------+--------------------------------------------
Comment (by Denis-de-Bernardy):

 Reformatting tags like this before auto-formatting might work:

 $str = preg_replace("/
   (<[^>]+)
   \n
   ([^>]*>)
   /x", '', $str);

 D.

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


More information about the wp-trac mailing list