Skip to content

Python Markdown turns </#rrggbb> into HTML comment, even while in inline code #1425

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report.confirmedConfirmed bug report or approved feature request.coreRelated to the core parser code.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions