Skip to content

Conversation

@Crozzers
Copy link
Contributor

This PR fixes #620 by adding missing block tags to the block tags regex.

Smarty-pants was mangling quotes in the video element, which should be hashed by _hash_html_blocks, but video was missing from _html5tags and _block_tags_a. Adding it fixed this.

I also added a bunch of other block-level tags listed on w3docs such as canvas, dd, dt and address

@nicholasserra nicholasserra merged commit 5a2b945 into trentm:master Mar 19, 2025
15 checks passed
@nicholasserra
Copy link
Collaborator

LGTM Thanks!

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.

smarty-pants mangles quotes in html

2 participants