[wp-trac] [WordPress Trac] #17401: Problems sanitizing image titles

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 21 20:22:50 UTC 2011


#17401: Problems sanitizing image titles
--------------------------+------------------
 Reporter:  bi0xid        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Formatting    |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by azaozz):

 * component:  TinyMCE => Formatting


Comment:

 Yes, this is a TinyMCE change or fix (that we don't have control over). It
 seems < and > are allowed inside a `title="..."` attribute.

 Actually the image breaks only if `/>` is used in the title and the
 breakage is caused by wp_texturize() that turns the remaining double
 quotes into curly quotes on display.

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


More information about the wp-trac mailing list