mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Whitespace normalization.
This commit is contained in:
parent
3dc6bb3c25
commit
480725d4c5
3 changed files with 4 additions and 4 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue