A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Python-Markdown/markdown/issues/864 below:

Backslash escape not unescaped in ID attributes · Issue #864 · Python-Markdown/markdown · GitHub

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:

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?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4