summaryrefslogtreecommitdiff
path: root/www/w3m/files/patch-file.c
blob: 957e32f09c9348d2e7628ca1925adc05cd6e40c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- file.c	Sun Oct  9 22:12:16 2005
+++ file.c	Sun Oct  9 22:11:10 2005
@@ -262,7 +262,8 @@
 {
     return (type == NULL || type[0] == '\0' ||
 	    strncasecmp(type, "text/", 5) == 0 ||
-	    strncasecmp(type, "message/", sizeof("message/") - 1) == 0);
+	    strncasecmp(type, "message/", sizeof("message/") - 1) == 0 ||
+	    IS_HTML(type));
 }
 
 static int