tscanlin / tocbot

Build a table of contents from headings in an HTML document.
MIT License
1.39k stars 115 forks source link

fix: update from textContent to innerText so that style tags are not included #321

Closed tscanlin closed 10 months ago

tscanlin commented 10 months ago

update from textContent to innerText so that style tags are not included