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

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 26 21:58:03 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 nacin):

 I was able to both verify the bug and verify the fix. Looks sane to me.

 Just don't test with a title attribute, as that one isn't whitelisted.

 {{{
 <img src="blah"> // works
 <img src="blah" > // works
 img src="blah" /> // works
 <img src="blah"/> // patch fixes this scenario
 }}}

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


More information about the wp-trac mailing list