Comments (2)
I just noticed this as well.
For some reason this was ok:
<h2 id="2016aidsheader" class="pt-5">2016 AIDS Conference</h2>
But this, nested within another h2 was not:
<h3>508 Memorial</h3>
¯_(ツ)_/¯
from bootstrap-toc.
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 bootstrap-toc
, not by me, so it should perhaps remove (
and )
in the first place.
Edit: It turns out that the document came with IDs that contains (
and )
, in which case bootstrap-toc
will simply use existing IDs. I think what bootstrap-toc
is doing is correct because the IDs might be used by the document, but scrollspy does fail to work because of this. I have tried to fix it by adjusting the ID in the document.
from bootstrap-toc.
Related Issues (20)
- fix build tools with newer versions of Node
- Specify header elements to include i.e. only include <h2> in the TOC HOT 2
- Support unicode CJK characters in headings HOT 1
- Bootstrap toc with Wordpress
- Fix toc with one element HOT 1
- TOC not fixed - help HOT 1
- offset function HOT 2
- yarnpkg HOT 1
- TOC adjusts margin with sticky-top header HOT 1
- Large number of entries causing overflow requires TOC scrolling HOT 2
- I have a Bootstrap 4 Fixed Navbar - How to Offset? HOT 5
- Remove paragraph symbol (´) from title text
- Break heading in toc if too long
- drop jQuery dependency HOT 5
- How does this work without calling .scrollspy('refresh') ?
- Solution for multi levels
- The $scope parameter is not working.
- Broken unicode support on bootstrap v5 HOT 1
- Uncaught DOMException: Element.querySelector: '#3-1-some-title-level-3' is not a valid selector HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-toc.