Skip to content

Conversation

@fb55
Copy link
Owner

@fb55 fb55 commented Apr 13, 2023

entities now features an EntityDecoder class that closely follows the HTML spec. We can use it here to improve entity parsing performance and accuracy.

The biggest change here is that htmlparser2 now correctly handles named entities in attributes. foo=bar&amp=baz in an attribute will now be left as it is, following the expected behavior from the HTML spec.

@fb55 fb55 merged commit 11b6af2 into master Apr 13, 2023
@fb55 fb55 deleted the entity-decoder branch April 13, 2023 18:16
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.

2 participants