commit 99b8d61f6fcbbb8572c6f5e669bdc95a802b16ea
parent fecd38242cddf2e00bbf7dd6b9db63e081e0ac32
Author: ukai <ukai>
Date: Mon, 12 May 2003 16:33:16 +0000
[w3m-dev 03896] html_quote in textarea in frame
* frame.c (createFrameFile): fix html_quote in textarea in frame
From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03896] html_quote in textarea in frame
+ * frame.c (createFrameFile): fix html_quote in textarea in frame
+
2003-05-13 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
* [w3m-dev 03895] type=image support of pre_form
diff --git a/frame.c b/frame.c
@@ -804,8 +804,11 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
Strfputs(tok, f1);
}
else {
- if (pre_mode & (RB_PLAIN | RB_INTXTA))
+ if (pre_mode & RB_PLAIN)
fprintf(f1, "%s", html_quote(tok->ptr));
+ else if (pre_mode & RB_INTXTA)
+ fprintf(f1, "%s",
+ html_quote(html_unquote(tok->ptr)));
else
Strfputs(tok, f1);
}