Commit dc5603eb authored by jvoisin's avatar jvoisin

Please mypy

parent 4999209f
Pipeline #25779 passed with stages
in 3 minutes
......@@ -98,6 +98,8 @@ class _HTMLParser(parser.HTMLParser):
def handle_starttag(self, tag: str, attrs: List[Tuple[str, Optional[str]]]):
original_tag = self.get_starttag_text()
if not original_tag: # empty tag
if tag in self.tag_blocklist:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment