Skip to content

[3.14] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) #136927

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

Merged
merged 2 commits into from
Jul 21, 2025

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jul 21, 2025

This fixes a regression introduced in GH-135930.
(cherry picked from commit dee6501)

…d the "=" separator in HTMLParser (pythonGH-136908)

This fixes a regression introduced in pythonGH-135930.
(cherry picked from commit dee6501)

Co-authored-by: Serhiy Storchaka <[email protected]>
@@ -75,7 +75,7 @@ to the HTML5 standard.
* Multiple ``=`` between attribute name and value are no longer collapsed.
E.g. ``<a foo==bar>`` produces attribute "foo" with value "=bar".

* Whitespaces between the ``=`` separator and attribute name or value are no
* [REVERTED] Whitespaces between the ``=`` separator and attribute name or value are no
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it fine? I do not want to remove this, this is a history, but we should add an indication that this change was not in the final release.

@ambv ambv merged commit 893707c into python:3.14 Jul 21, 2025
42 checks passed
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.

3 participants