mirror of https://github.com/python/cpython
Put back the call to report_unbalanced() that was lost when
parse_endtag() was restructured in parse_endtag() and finish_endtag().
This commit is contained in:
parent
d94c2dc5e8
commit
b84ef9bc61
|
@ -309,6 +309,8 @@ class SGMLParser:
|
|||
method = getattr(self, 'end_' + tag)
|
||||
except AttributeError:
|
||||
self.unknown_endtag(tag)
|
||||
else:
|
||||
self.report_unbalanced(tag)
|
||||
return
|
||||
found = len(self.stack)
|
||||
for i in range(found):
|
||||
|
|
Loading…
Reference in New Issue