commit 020b4ecb4a23512a6ae46925b857d61e8ec42a53
parent ef7dcac7074f19e74f1cc886f8428f900f16006d
Author: ukai <ukai>
Date: Wed, 5 Dec 2001 17:29:26 +0000
[w3m-dev 02619]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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]
diff --git a/file.c b/file.c
@@ -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)