commit 5a0705132fd9036b3802b669b81e0ad46754f832
parent 055fcfd8a6322db257a36d7c9a3032e6da429caa
Author: ukai <ukai>
Date: Tue, 26 Nov 2002 17:08:00 +0000
frame.c (createFrameFile): html_quote()
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-27 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * frame.c (createFrameFile): html_quote()
+
2002-11-27 Hiroyuki Ito <hito@crl.go.jp>
* [w3m-dev 03488] meta refresh in frame
diff --git a/frame.c b/frame.c
@@ -614,7 +614,7 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
}
Strshrinkfirst(tok, 1);
Strshrink(tok, 1);
- fprintf(f1, "<!-- %s -->", tok->ptr);
+ fprintf(f1, "<!-- %s -->", html_quote(tok->ptr));
goto token_end;
case HTML_META:
parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &q);
@@ -626,7 +626,8 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
if (s_tmp) {
q = html_quote(s_tmp->ptr);
fprintf(f1, "Refresh (%d sec) <a href=\"%s\">%s</a>\n",
- refresh_interval, q, q);
+ refresh_interval,
+ html_quote(q), html_quote(q));
}
}
}