Lower log level for unmatched closing tag

This commit is contained in:
Dan 2021-04-26 16:13:36 +02:00
parent 5e77387919
commit 710cfa071d

View File

@ -96,7 +96,7 @@ class Parser(HTMLParser):
line, offset = self.getpos()
offset += 1
log.warning(f"Unmatched closing tag </{tag}> at line {line}:{offset}")
log.debug(f"Unmatched closing tag </{tag}> at line {line}:{offset}")
else:
if not self.tag_entities[tag]:
self.tag_entities.pop(tag)