aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-05-12 16:33:16 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-05-12 16:33:16 +0000
commit7beb34369707b5d508aab53d712d35ff76eca67f (patch)
tree484e4fed910270863d6a5d0526cd74078a40d029
parent[w3m-dev 03895] type=image support of pre_form (diff)
downloadw3m-7beb34369707b5d508aab53d712d35ff76eca67f.tar.gz
w3m-7beb34369707b5d508aab53d712d35ff76eca67f.zip
[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 (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--frame.c7
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f6ff712..8612f6d 100644
--- 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
@@ -7804,4 +7809,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.834 2003/05/12 16:24:50 ukai Exp $
+$Id: ChangeLog,v 1.835 2003/05/12 16:33:16 ukai Exp $
diff --git a/frame.c b/frame.c
index ae8e83b..4e088a1 100644
--- a/frame.c
+++ b/frame.c
@@ -1,4 +1,4 @@
-/* $Id: frame.c,v 1.31 2003/01/29 17:10:39 ukai Exp $ */
+/* $Id: frame.c,v 1.32 2003/05/12 16:33:18 ukai Exp $ */
#include "fm.h"
#include "parsetagx.h"
#include "myctype.h"
@@ -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);
}