diff options
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): |