[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>
This commit is contained in:
Fumitoshi UKAI
2003-05-12 16:33:16 +00:00
parent ca183f36c4
commit 7beb343697
2 changed files with 11 additions and 3 deletions

View File

@@ -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> 2003-05-13 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
* [w3m-dev 03895] type=image support of pre_form * [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 * release-0-2-1
* import w3m-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 $

View File

@@ -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 "fm.h"
#include "parsetagx.h" #include "parsetagx.h"
#include "myctype.h" #include "myctype.h"
@@ -804,8 +804,11 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
Strfputs(tok, f1); Strfputs(tok, f1);
} }
else { else {
if (pre_mode & (RB_PLAIN | RB_INTXTA)) if (pre_mode & RB_PLAIN)
fprintf(f1, "%s", html_quote(tok->ptr)); fprintf(f1, "%s", html_quote(tok->ptr));
else if (pre_mode & RB_INTXTA)
fprintf(f1, "%s",
html_quote(html_unquote(tok->ptr)));
else else
Strfputs(tok, f1); Strfputs(tok, f1);
} }