[haddock] #132: Illegal character in HTML ID attribute

haddock haddock at projects.haskell.org
Sun Feb 14 11:15:02 EST 2010

#132: Illegal character in HTML ID attribute
Reporter:  YitzGale  |       Owner:       
    Type:  defect    |      Status:  new  
Priority:  minor     |   Milestone:  2.7.0
 Version:  2.6.0     |    Keywords:       
 Haddock's HTML backend generates ID attributes for connecting to the
 Javascript that collapses and expands sections of the module hierarchy.
 These ID attributes currently have the form "n:N" where N is an integer.

 That is not valid HTML: the value of the ID attribute must match
 the NAME production in the DTD, and ':' is not a valid character
 for that production. So Haddock's HTML output does not validate
 against the DTD that it claims in its DOCTYPE declaration.

 Attached is a patch to use '.' instead of ':'.

Ticket URL: <http://trac.haskell.org/haddock/ticket/132>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool

More information about the Haddock mailing list