Lower log level for unmatched closing tag
This commit is contained in:
parent
5e77387919
commit
710cfa071d
@ -96,7 +96,7 @@ class Parser(HTMLParser):
|
|||||||
line, offset = self.getpos()
|
line, offset = self.getpos()
|
||||||
offset += 1
|
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:
|
else:
|
||||||
if not self.tag_entities[tag]:
|
if not self.tag_entities[tag]:
|
||||||
self.tag_entities.pop(tag)
|
self.tag_entities.pop(tag)
|
||||||
|
Loading…
Reference in New Issue
Block a user