[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,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);
}