From 3ba9c348795b3923ff65e917c23b454470698489 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 18 Nov 2014 13:56:58 +0100 Subject: html: Borders. --- source/html/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html/handler.c') 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")) -- cgit v1.2.3