[wp-trac] [WordPress Trac] #12335: wpautop() adds pee's around closing tag of HTML 5 block-level element figure

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 22 18:32:09 UTC 2010


#12335: wpautop() adds pee's around closing tag of HTML 5 block-level element
figure
--------------------------+-------------------------------------------------
 Reporter:  springfeld    |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  Unassigned
Component:  Formatting    |     Version:  2.9.2     
 Severity:  trivial       |    Keywords:            
--------------------------+-------------------------------------------------
 If you add a figure-element into a post, it will only be altered on the
 last line. The ending tag of a HTML 5 block-level element figure is
 delivered as <p></figure></p> while the rest of the block is not altered.

 I found the line, where block-level elements are listed, and the figure
 element - as well as other upcoming HTML 5 elements - isn't listed there:
 http://core.trac.wordpress.org/browser/trunk/wp-
 includes/formatting.php#L188

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


More information about the wp-trac mailing list