markdown-toc
markdown-toc copied to clipboard
fix: strip HTML entities like > from slugs
I discovered in my repo https://github.com/vscodeshift/material-ui-snippets that HTML entities like > get stripped out of slugs. Right now in this and other libs, <div> gets converted to ltdivgt, but the actual GitHub slug is just div.