Python Markdown turns </#rrggbb> into HTML comment, even while in inline code · Issue #1425 · Python-Markdown/markdown (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@Andre601

Description

@Andre601

When you put </#rrggbb> as-is inside a inline code block will Python Markdown convert it into a HTML comment (<!--#rrggbb-->), which feels odd.

Is there a way to prevent this? Using HTML escape methods such as &lt;/#rrggbb&gt; will not work, as Python Markdown will then treat the content literally and show it as-is.
Additionally can and will this cause issues with inline-code highlighting used.