Skip to content
Snippets Groups Projects
Commit 68264986 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

meh

parent af62b87f
Branches please_mypy
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ class _HTMLParser(parser.HTMLParser):
self.__textrepr += escape(data)
def handle_startendtag(self, tag: str,
attrs: List[Tuple[str, Optional[str]]]):
attrs: List[Tuple[str, Optional[str]]]):
if tag in self.tag_required_blocklist | self.tag_blocklist:
meta = {k:v for k, v in attrs}
name = meta.get('name', 'harmful metadata')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment