diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-12-15 10:50:24 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-12-15 10:50:24 +0000 |
commit | 7c039a46d5faf90e26408e073cedca510efc1eac (patch) | |
tree | daa41a2e68a32a9d71505455546f425272abfd70 /file.c | |
parent | [w3m-dev 04419] AC_W3M_EXTLIBS does not check /lib64 (diff) | |
download | w3m-7c039a46d5faf90e26408e073cedca510efc1eac.tar.gz w3m-7c039a46d5faf90e26408e073cedca510efc1eac.zip |
[w3m-dev 04424] http://www.j10n.org/files/w3m-cvs-1.1040-misc.patch
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 <sys/types.h> #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); } |