[wp-trac] [WordPress Trac] #14996: Inserting an video/audio/media with an apostrophe in the title results in \' in the HTML

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 5 19:19:30 UTC 2010


#14996: Inserting an video/audio/media with an apostrophe in the title results in
\' in the HTML
----------------------------+-----------------------------------------------
 Reporter:  layotte         |       Owner:                         
     Type:  defect (bug)    |      Status:  new                    
 Priority:  normal          |   Milestone:  Awaiting Review        
Component:  Administration  |     Version:  3.0.1                  
 Severity:  normal          |    Keywords:  has-patch needs-testing
----------------------------+-----------------------------------------------

Comment(by azaozz):

 The proper fix here would probably be to entity-encode the html special
 chars. This will also produce valid HTML when > and < are entered.

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


More information about the wp-trac mailing list