From: Anthony Baxter Date: Wed, 5 Dec 2001 06:05:09 +0000 (+0000) Subject: backport 1.33: X-Git-Tag: v2.1.2c1~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1015acd7949427bdf845138a66745a6b4daee47f;p=thirdparty%2FPython%2Fcpython.git 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. --- 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('