Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary html.unescape() calls in index/collector.py #10378

Merged
merged 1 commit into from
Sep 5, 2021
Merged

Remove unnecessary html.unescape() calls in index/collector.py #10378

merged 1 commit into from
Sep 5, 2021

Conversation

jdufresne
Copy link
Contributor

The html5lib (as well as stdlib html.parser) already unescapes
attributes. There is no need to do so a second time.

Unnecessary since cba4521.

@pradyunsg
Copy link
Member

Could you add a test to ensure we don't double-unescape things in the future?

The html5lib package (as well as stdlib html.parser) already unescapes
attributes. There is no need to do so a second time.

Unnecessary since cba4521.
@uranusjr uranusjr merged commit b9fcd55 into pypa:main Sep 5, 2021
@jdufresne jdufresne deleted the unescape branch September 5, 2021 13:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants