Add support for xhtml files
This commit is contained in:
parent
74afa885f5
commit
05f429b197
@ -58,7 +58,7 @@ class AbstractHTMLParser(abstract.AbstractParser):
|
||||
|
||||
|
||||
class HTMLParser(AbstractHTMLParser):
|
||||
mimetypes = {'text/html', }
|
||||
mimetypes = {'text/html', 'application/xhtml+xml'}
|
||||
tags_blocklist = {'meta', }
|
||||
tags_required_blocklist = {'title', }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user