diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-12 16:33:16 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-12 16:33:16 +0000 |
commit | 7beb34369707b5d508aab53d712d35ff76eca67f (patch) | |
tree | 484e4fed910270863d6a5d0526cd74078a40d029 /frame.c | |
parent | [w3m-dev 03895] type=image support of pre_form (diff) | |
download | w3m-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 'frame.c')
-rw-r--r-- | frame.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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); } |