[Trac-tickets] [The Trac Project] #1323: Roadmap page has invalid markup

The Trac Project noreply at edgewall.com
Sat Mar 19 23:34:07 EST 2005


#1323: Roadmap page has invalid markup
---------------------+------------------------------------------------------
       Id:  1323     |      Status:  new                     
Component:  roadmap  |    Modified:  Sat Mar 19 23:34:06 2005
 Severity:  normal   |   Milestone:                          
 Priority:  normal   |     Version:  devel                   
    Owner:  cmlenz   |    Reporter:  anonymous               
---------------------+------------------------------------------------------
 The URLs in the roadmap page contain ampersands, but fail to be encoded as
 {{{&}}} entities.

 For example, the link for viewing closed tickets on Trac's 0.8.2 milestone
 is sent as ...{{{href="/trac/query?status=closed&milestone=0.8.2"}}}...
 when it should be sent as
 ...{{{href="/trac/query?status=closed&milestone=0.8.2"}}}...

 Encoding the ampersands in URLs is necessary for valid XHTML and fixing it
 won't cause problems for any browsers, even though most are smart enough
 to deal with this bit of invalid markup. Also, this error is currently
 preventing Trac from serving with a content-type of application/xhtml+xml
 (Firefox craps out on this error and won't show the page).

 For more information, see
 [http://www.htmlhelp.com/tools/validator/problems.html#amp Ampersands
 (&'s) in URLs]. For confirmation that this is happening, run the roadmap
 page through
 [http://validator.w3.org/check?uri=http%3A%2F%2Fprojects.edgewall.com%2Ftrac%2Froadmap
 W3C's validator].

 I'm afraid I don't know enough about Trac's internals to know if the
 generation of invalidly marked-up URLs is specific to the Roadmap
 function, but that's the page that is giving this error.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1323>
The Trac Project <>


More information about the Trac-Tickets mailing list