[wp-trac] Re: [WordPress Trac] #4379: Bad character in alt attribute of an img tag

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 23 15:45:13 GMT 2008


#4379: Bad character in alt attribute of an img tag
------------------------------+---------------------------------------------
 Reporter:  orvar             |        Owner:  anonymous
     Type:  defect            |       Status:  new      
 Priority:  high              |    Milestone:  2.7      
Component:  Administration    |      Version:  2.2      
 Severity:  normal            |   Resolution:           
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Changes (by nbachiyski):

  * keywords:  needs-patch => has-patch tested
  * milestone:  2.9 => 2.7

Comment:

 The problem is in kses, which strips {{{\xad}}}, because it caues some
 problems with Opera. Accidentally the UTF-8 encoding of í is
 {{{\xc3\xad}}} and half of it gets stripped, thus making it invalid UTF-8
 character.

 Attached is a patch, which replaces í with i in attributes.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4379#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list