Closed
Description
I'm using the TocExtension
to generate table of contens for my `.md. files (which could be relevant/irrelevant to the issue below).
In my original text, I'm escaping the single underscore _
with a backslash:
### select\_related
After running the text through markdown
, this is the HTML result:
<h3 id="select95related">select_related</h3>
And the generated TOC points to the ID above as well. I'm wondering if this is the expected behaviour? I would expect markdown
to simply render:
<h3 id="select_related">select_related</h3>
At least according to one online converter, the result should be: <...id="select_related"...>
Am I missing something?