jgallen23 / toc

Table of Contents Plugin
http://projects.jga.me/toc/
MIT License
531 stars 111 forks source link

"." in the generated IDs #16

Open tarciozemel opened 11 years ago

tarciozemel commented 11 years ago

One issue is: if a title have the "." char, the generated ID also have it and the anchor not works.

Great plugin, I use for years!

jgallen23 commented 11 years ago

by default, uses toc with the header index. Are you using a custom anchorName function?

Pilatch commented 9 years ago

This same problem happens with docstrap. I have a fix for it.

jdittrich commented 9 years ago

Same for me. It happens if I use the custom anchorName function to use the already existing id of the headline.

Remarks:

wudong commented 9 years ago

Also seems problematic when the heading have Colon (:) inside.

leoncoderehab commented 7 years ago

I also have this problem with a : ? or .