summaryrefslogtreecommitdiff
path: root/source/html/handler.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-11-18 13:56:58 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-12-03 12:25:52 +0100
commit3ba9c348795b3923ff65e917c23b454470698489 (patch)
treee01db0e03d60c2b010164be64928f2ca47b3badf /source/html/handler.c
parentbb875f77f23ac4c51a072f4fc6692ce2dc352997 (diff)
downloadmupdf-3ba9c348795b3923ff65e917c23b454470698489.tar.xz
html: Borders.
Diffstat (limited to 'source/html/handler.c')
-rw-r--r--source/html/handler.c2
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"))