From 1015acd7949427bdf845138a66745a6b4daee47f Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Wed, 5 Dec 2001 06:05:09 +0000 Subject: [PATCH] backport 1.33: Be more permissive in what is accepted as an attribute name; this makes this module slightly more resiliant in the face of XHTML input, or just colons in attribute names. --- Lib/sgmllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index f612f2e900d9..194290236d53 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -36,7 +36,7 @@ commentopen = re.compile('