From: Fred Drake Date: Sat, 14 Jul 2001 05:50:33 +0000 (+0000) Subject: Be more permissive in what is accepted as an attribute name; this makes X-Git-Tag: v2.2a3~1171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8600b47b61ab9d3fd5cae0bf2f1559c98e42f5da;p=thirdparty%2FPython%2Fcpython.git 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 fe91c1b0398c..5ff9f70c96ad 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -36,7 +36,7 @@ commentopen = re.compile('