Skip to content

Commit 3d2e54c

Browse files
committed
not formatting nor phrasing is equivalent to special or scoping...
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40222
1 parent e55165f commit 3d2e54c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

parser.py

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

0 commit comments

Comments
 (0)