summaryrefslogtreecommitdiff
path: root/dpi
diff options
context:
space:
mode:
Diffstat (limited to 'dpi')
-rw-r--r--dpi/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dpi/file.c b/dpi/file.c
index 5fef5fb9..d84f4b64 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -511,6 +511,7 @@ static const char *File_ext(const char *filename)
} else if (!dStrAsciiCasecmp(e, "png")) {
return "image/png";
} else if (!dStrAsciiCasecmp(e, "html") ||
+ !dStrAsciiCasecmp(e, "xhtml") ||
!dStrAsciiCasecmp(e, "htm") ||
!dStrAsciiCasecmp(e, "shtml")) {
return "text/html";