-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If header starts with a number, scrollspy not works #64
Comments
I just noticed this as well. For some reason this was ok: But this, nested within another h2 was not:
¯_(ツ)_/¯ |
I might be experiencing something similar as scrollspy does not pass the sections with parenthesis on page https://bioworkflows.com/ictr/COVID19-outbreak-simulator-model/2 . Edit: I think I encountered the same problem with this stackoverflow post. The problem is that the IDs are generated by Edit: It turns out that the document came with IDs that contains |
If header starts with a number, script creates an id with a number at the beginning, which is wrong. In html id can't start with a number. It would also be nice to strip all html entities (e.g.
&
) from id.The text was updated successfully, but these errors were encountered: