diff options
Diffstat (limited to 'source/html/handler.c')
-rw-r--r-- | source/html/handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/handler.c b/source/html/handler.c index cbce9409..fda21f5c 100644 --- a/source/html/handler.c +++ b/source/html/handler.c @@ -125,7 +125,7 @@ html_recognize(fz_context *doc, const char *magic) if (ext) { - if (!fz_strcasecmp(ext, ".xhtml") || !fz_strcasecmp(ext, ".html")) + if (!fz_strcasecmp(ext, ".xml") || !fz_strcasecmp(ext, ".xhtml") || !fz_strcasecmp(ext, ".html")) return 100; } if (!strcmp(magic, "application/html+xml") || !strcmp(magic, "application/xml") || !strcmp(magic, "text/xml")) |