diff options
author | Guido van Rossum <guido@python.org> | 1998-07-07 22:46:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-07 22:46:11 (GMT) |
commit | b84ef9bc617d5b5c2ee21c991ca9d3d97aa5703e (patch) | |
tree | b9b2c683738ee437b05a1dac0e6f8ca49cfd81c5 /Lib/sgmllib.py | |
parent | d94c2dc5e8e96c50c0198b708807c74f27c98d22 (diff) | |
download | cpython-b84ef9bc617d5b5c2ee21c991ca9d3d97aa5703e.zip cpython-b84ef9bc617d5b5c2ee21c991ca9d3d97aa5703e.tar.gz cpython-b84ef9bc617d5b5c2ee21c991ca9d3d97aa5703e.tar.bz2 |
Put back the call to report_unbalanced() that was lost when
parse_endtag() was restructured in parse_endtag() and finish_endtag().
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r-- | Lib/sgmllib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 6817608..d042049 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -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): |