Skip to content

Commit e55165f

Browse files
committed
change "and" to "or" which should make this work...
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40221
1 parent 9308489 commit e55165f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,8 +1200,8 @@ def endTagOther(self, name):
12001200
pass
12011201
break
12021202
else:
1203-
if (node not in formattingElements and
1204-
node in specialElements | scopingElements):
1203+
if node not in formattingElements \
1204+
or node in specialElements | scopingElements:
12051205
self.parser.parseError()
12061206
break
12071207

0 commit comments

Comments
 (0)