diff options
| author | jvoisin | 2019-04-14 20:36:33 +0200 |
|---|---|---|
| committer | jvoisin | 2019-04-14 20:36:33 +0200 |
| commit | 05f429b197800f96ad4ffc766668096bfdb0e333 (patch) | |
| tree | b86b584f33af259b263df1c065f30b5ce6c1e03a /libmat2 | |
| parent | 74afa885f51525539cdc45ddc89fecc522987265 (diff) | |
Add support for xhtml files
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/web.py b/libmat2/web.py index 0a61908..b05ca3b 100644 --- a/libmat2/web.py +++ b/libmat2/web.py | |||
| @@ -58,7 +58,7 @@ class AbstractHTMLParser(abstract.AbstractParser): | |||
| 58 | 58 | ||
| 59 | 59 | ||
| 60 | class HTMLParser(AbstractHTMLParser): | 60 | class HTMLParser(AbstractHTMLParser): |
| 61 | mimetypes = {'text/html', } | 61 | mimetypes = {'text/html', 'application/xhtml+xml'} |
| 62 | tags_blocklist = {'meta', } | 62 | tags_blocklist = {'meta', } |
| 63 | tags_required_blocklist = {'title', } | 63 | tags_required_blocklist = {'title', } |
| 64 | 64 | ||
