summaryrefslogtreecommitdiffstats
path: root/Lib/html/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/html/parser.py')
-rw-r--r--Lib/html/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/html/parser.py b/Lib/html/parser.py
index ef869bc..de81879 100644
--- a/Lib/html/parser.py
+++ b/Lib/html/parser.py
@@ -418,7 +418,7 @@ class HTMLParser(_markupbase.ParserBase):
self.handle_data(rawdata[i:gtpos])
return gtpos
- self.handle_endtag(elem.lower())
+ self.handle_endtag(elem)
self.clear_cdata_mode()
return gtpos