]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41748: Handles unquoted attributes with commas (GH-24072)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Feb 2021 20:54:43 +0000 (12:54 -0800)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 20:54:43 +0000 (12:54 -0800)
commit0874491bcc392f7bd9c394ec2fdab183e3f320dd
treed505371e35cb21031902f1585bec0bd62a70eeda
parent304f9d2622fa4fd0833d60d31ddf7321a6a8141b
bpo-41748: Handles unquoted attributes with commas (GH-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
(cherry picked from commit 9eb11a139fac5514d8456626806a68b3e3b7eafb)

Co-authored-by: Karl Dubost <karl+github@la-grange.net>
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]