Don't require <base> tag

This commit is contained in:
Peter J. Holzer 2019-03-01 22:52:41 +01:00
parent 7f5ffdde0b
commit 48ea68eaef
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ class HTMLPart(html.parser.HTMLParser):
super().__init__()
self.hide = False
self.content = []
self.base = None
def handle_starttag(self, tag, attrs):
if tag == "base":