markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

inline code is stripped, even with --no-stripHeadingTags

Open trusktr opened this issue 4 years ago • 0 comments

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)

trusktr avatar Feb 03 '21 16:02 trusktr