aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
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 /frame.c
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--frame.c7
1 files changed, 5 insertions, 2 deletions
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);
}