markdown-toc
markdown-toc copied to clipboard
inline code is stripped, even with --no-stripHeadingTags
Using the --no-stripHeadingTags:
Input:
## The `<log-in>` element
Expected output:
* [The `<log-in>` element](#the-log-in-element)
Actual output:
* [The `` element](#the-log-in-element)
Without the --no-stripHeadingTags option, the tag is still erroneously treated as an HTML tag:
With the same input, the actual output is:
* [The `` element](#the--element)