Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 154 by
Rory...@gmail.com: toc generate not valid anchor
http://code.google.com/p/gwtwiki/issues/detail?id=154
if the section is not start with a letter [a-zA-Z] will generate a not
valid html dom id
{
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"),
colons (":"), and periods (".").
}
example the Chinese section will generate a anchor
[第一章], [.E7.AC.AC.E4.B8.80.E7.AB.A0]
when use jquery to select this anchor cause a Synatax error:
{
Error: Syntax error, unrecognized expression: #.E7.AC.AC.E4.B8.80.E7.AB.A0
}
maybe we can make a default prefix when the anchor not start with the
letter, "head" or "h" for example?
Thanks
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings