[wp-trac] [WordPress Trac] #12394: kses removes valid attribute from xhtml elements

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 26 21:39:11 UTC 2010


#12394: kses removes valid attribute from xhtml elements
--------------------------+-------------------------------------------------
 Reporter:  dougal        |       Owner:                                      
     Type:  defect (bug)  |      Status:  new                                 
 Priority:  normal        |   Milestone:  3.0                                 
Component:  Formatting    |     Version:                                      
 Severity:  normal        |    Keywords:  has-patch, tested, kses, xhtml, html
--------------------------+-------------------------------------------------

Comment(by dougal):

 For reference, here is the XHTML 1.0 spec section discussing empty
 elements. Note that in the examples, there is no space:
 http://www.w3.org/TR/xhtml1/#h-4.6

 It is only in the HTML Compatibility Guidelines that they recommend adding
 the space, for compatibility with HTML4:
 http://www.w3.org/TR/xhtml1/#guidelines

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12394#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list