diff options
author | Fred Drake <fdrake@acm.org> | 2003-03-14 16:21:57 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-03-14 16:21:57 (GMT) |
commit | 0834d77bc4f07e5632588ed636b6db21e87694cc (patch) | |
tree | 850724fd3c7dd6eeccc9dd060784f4787ea7a39c /Lib/test/test_htmlparser.py | |
parent | 080cb3268f770d2589ee350ace7f589927e8db98 (diff) | |
download | cpython-0834d77bc4f07e5632588ed636b6db21e87694cc.zip cpython-0834d77bc4f07e5632588ed636b6db21e87694cc.tar.gz cpython-0834d77bc4f07e5632588ed636b6db21e87694cc.tar.bz2 |
Accept commas in unquoted attribute values.
This closes SF patch #669683.
Diffstat (limited to 'Lib/test/test_htmlparser.py')
-rwxr-xr-x | Lib/test/test_htmlparser.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index 8422751..a10c40b 100755 --- a/Lib/test/test_htmlparser.py +++ b/Lib/test/test_htmlparser.py @@ -197,6 +197,10 @@ DOCTYPE html [ self._run_check("""<a b='' c="">""", [ ("starttag", "a", [("b", ""), ("c", "")]), ]) + # Regression test for SF patch #669683. + self._run_check("<e a=rgb(1,2,3)>", [ + ("starttag", "e", [("a", "rgb(1,2,3)")]), + ]) def test_attr_entity_replacement(self): self._run_check("""<a b='&><"''>""", [ |