From: Fred Drake Date: Mon, 16 Dec 1996 21:56:27 +0000 (+0000) Subject: (sgmllib.py): Partial acceptance of patch from David Leonard X-Git-Tag: v1.5a1~733 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09bcf8c0312864c5a65a877453e62315059e8182;p=python (sgmllib.py): Partial acceptance of patch from David Leonard ; allows hyphen and period in the middle of attribute names. Still not allowed as first character; as first character these are illegal in the Reference Concrete Syntax, and we've not identified any use of these characters as the first char in an attribute name in deployment on the web. --- diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 304bbdbff0..8f32001880 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -33,7 +33,7 @@ commentopen = regex.compile('