[wp-trac] [WordPress Trac] #12978: <di> (definition item) as block level element in wpautop()

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 12 17:04:40 UTC 2010


#12978: <di> (definition item) as block level element in wpautop()
--------------------------+-------------------------------------------------
 Reporter:  kasparsd      |       Owner:                    
     Type:  defect (bug)  |      Status:  new               
 Priority:  normal        |   Milestone:  Future Release    
Component:  Formatting    |     Version:  3.0               
 Severity:  trivial       |    Keywords:  formatting wpautop
--------------------------+-------------------------------------------------
 {{{DI}}} isn't included in the definition of block level elements (line
 188 in {{{wp-includes/formatting.php}}}):

 {{{
 $allblocks = '(?:table|thead|...
 }}}

 which results in opening paragraph tags {{{<p>}}} being placed before
 every {{{<di>}}}.

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


More information about the wp-trac mailing list