[wp-trac] [WordPress Trac] #3621: More fun with wpautop()

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 20 07:21:18 GMT 2007


#3621: More fun with wpautop()
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  anonymous  
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  2.2        
Component:  General       |     Version:  2.1        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 Make a post with this:

 {{{
 Test<object><param name="text" value="test" /></object>test
 }}}

 Results in this:

 {{{
 <p>Test<br />
 <object>
 <param name="text" value="test" /></object>
 <p>test</p>
 }}}

 The `<br />` probably shouldn't be there, there shouldn't be a line break
 after the `<object>`, and most importantly, there's a missing `</p>`.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3621>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list