Kaydet (Commit) b84ef9bc authored tarafından Guido van Rossum's avatar Guido van Rossum

Put back the call to report_unbalanced() that was lost when

parse_endtag() was restructured in parse_endtag() and finish_endtag().
üst d94c2dc5
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment