Skip to content

Conversation

@Crozzers
Copy link
Contributor

@Crozzers Crozzers commented Jan 3, 2024

This PR fixes #563 by amending the _incomplete_tags_re to also search for HTML comments. This change means that unclosed/incomplete HTML comments will be properly escaped and won't result in the rest of the document being commented out.

@nicholasserra
Copy link
Collaborator

Thank you!

@nicholasserra nicholasserra merged commit bb9d6b4 into trentm:master Jan 3, 2024
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.

Unclosed HTML comments not being escaped with safe_mode='escape'

2 participants