]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41748: Handles unquoted attributes with commas (#24072)
authorKarl Dubost <karl+github@la-grange.net>
Mon, 1 Feb 2021 20:32:50 +0000 (05:32 +0900)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 20:32:50 +0000 (21:32 +0100)
commit9eb11a139fac5514d8456626806a68b3e3b7eafb
tree060e3c9b600cf8279eb642aefec672c525b224b6
parent000cde59847beaf5fa7b73633e1f3c898fe5bf90
bpo-41748: Handles unquoted attributes with commas (#24072)

* bpo-41748: Adds tests for unquoted attributes with comma

* bpo-41748: Handles unquoted attributes with comma

* bpo-41748: Addresses review comments

* bpo-41748: Addresses review comments

* Adds more test cases
* Simplifies the regex for handling spaces

* bpo-41748: Moves attributes tests under the right class

* bpo-41748: Addresses review about duplicate attributes

* bpo-41748: Adds NEWS.d entry for this patch
Lib/html/parser.py
Lib/test/test_htmlparser.py
Misc/NEWS.d/next/Library/2021-01-05-21-26-29.bpo-41748.KdC0w3.rst [new file with mode: 0644]