[wp-trac] [WordPress Trac] #10823: Bad handling of ampersand in post titles

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 21 10:59:50 UTC 2009


#10823: Bad handling of ampersand in post titles
---------------------------+------------------------------------------------
 Reporter:  Commeuneimage  |       Owner:                                                
     Type:  defect (bug)   |      Status:  new                                           
 Priority:  normal         |   Milestone:  Unassigned                                    
Component:  General        |     Version:  2.8.4                                         
 Severity:  minor          |    Keywords:  ampersand the_title_attribute htmlspecialchars
---------------------------+------------------------------------------------
 Titles with ampersand (&) are not correctly handled:[[BR]]

 1/ the_title_attribute() doesn't transform & to & causing XHTML
 validation errors[[BR]]

 2/ titles with & followed by ; generate truncated post name (slug)
 e.g. "Test this & believe ; what ?" => "test-this-what"

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10823>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list