From 7c039a46d5faf90e26408e073cedca510efc1eac Mon Sep 17 00:00:00 2001 From: Ito Hiroyuki Date: Wed, 15 Dec 2010 10:50:24 +0000 Subject: [w3m-dev 04424] http://www.j10n.org/files/w3m-cvs-1.1040-misc.patch --- file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index a073f92..d4c47fd 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.264 2010/08/03 10:02:16 htrb Exp $ */ +/* $Id: file.c,v 1.265 2010/12/15 10:50:24 htrb Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -262,6 +262,8 @@ is_text_type(char *type) { return (type == NULL || type[0] == '\0' || strncasecmp(type, "text/", 5) == 0 || + (strncasecmp(type, "application/", 12) == 0 && + strstr(type, "xhtml") != NULL) || strncasecmp(type, "message/", sizeof("message/") - 1) == 0); } -- cgit v1.2.3