diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-04-03 02:46:44 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-04-03 02:46:44 (GMT) |
commit | 480725d4c5bd3738c1f1fc7af74fa8825705c428 (patch) | |
tree | 83b510452f1c9ab06783412c519fbb9f8f4f4e2b /Lib/sgmllib.py | |
parent | 3dc6bb3c25dd2834b198a4bbcff2f9b760d1a2d9 (diff) | |
download | cpython-480725d4c5bd3738c1f1fc7af74fa8825705c428.zip cpython-480725d4c5bd3738c1f1fc7af74fa8825705c428.tar.gz cpython-480725d4c5bd3738c1f1fc7af74fa8825705c428.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r-- | Lib/sgmllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 784dbe1..3e85a91 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -270,7 +270,7 @@ class SGMLParser(markupbase.ParserBase): if not rest: attrvalue = attrname else: - if (attrvalue[:1] == "'" == attrvalue[-1:] or + if (attrvalue[:1] == "'" == attrvalue[-1:] or attrvalue[:1] == '"' == attrvalue[-1:]): # strip quotes attrvalue = attrvalue[1:-1] |