diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2001-12-06 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02619] + * file.c (loadHTMLString): set document type + 2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 02618] @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.25 2001/12/02 16:26:08 ukai Exp $ */ +/* $Id: file.c,v 1.26 2001/12/05 17:29:26 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -5104,6 +5104,8 @@ loadHTMLString(Str page) #ifdef JP_CHARSET newBuf->document_code = InnerCode; #endif /* JP_CHARSET */ + newBuf->type = "text/html"; + newBuf->real_type = newBuf->type; if (n_textarea) formResetBuffer(newBuf, newBuf->formitem); if (src) |