1
0
mirror of synced 2024-12-27 15:19:57 +01:00

Add support for xhtml files

This commit is contained in:
jvoisin 2019-04-14 20:36:33 +02:00
parent 74afa885f5
commit 05f429b197

View File

@ -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', }