thlorenz / doctoc

📜 Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites.
https://www.npmjs.com/package/doctoc
MIT License
4.23k stars 480 forks source link

fix: Properly handle files with whitespace #248

Open hyperupcall opened 11 months ago

hyperupcall commented 11 months ago

A bisect confirmed that this was introduced from commit 994839f1cb5e2c4c75ba712f5de4cc3aa4438919.

Closes #89 Closes #127 Closes #158