Skip to content

Conversation

@waylan
Copy link
Member

@waylan waylan commented Jan 3, 2024

As with most implementations, we now pass through bogus comments (as defined by the HTML Spec) unaltered except that they are HTML escaped. This deviates from the reference implementation which compeltely ignores them. As the reference implementation seems to not have even contemplated their existance, it is not being used as a reference in this instance. Fixes #1425.

waylan added 2 commits January 3, 2024 12:04
As with most implementations, we now pass through bogus comments (as
defined by the HTML Spec) unaltered except that they are HTML escaped.
This deviates from the reference implementation which compeltely ignores
them. As the reference implementation seems to not have even contemplated
their existance, it is not being used as a reference in this instance.
Fixes Python-Markdown#1425.
@waylan waylan requested a review from facelessuser January 3, 2024 18:10
@waylan waylan merged commit e466f38 into Python-Markdown:master Jan 3, 2024
@waylan waylan deleted the 1425 branch January 3, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants