aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-26 17:08:00 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-26 17:08:00 +0000
commitd876f85fb936b34344d3c97d0be4bd63f6cb4ad0 (patch)
treedc0b21a5da4b063bc9a92030dd3ab66f384e328f /frame.c
parent[w3m-dev 03488] meta refresh in frame (diff)
downloadw3m-d876f85fb936b34344d3c97d0be4bd63f6cb4ad0.tar.gz
w3m-d876f85fb936b34344d3c97d0be4bd63f6cb4ad0.zip
frame.c (createFrameFile): html_quote()
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--frame.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/frame.c b/frame.c
index 0ee521a..f65c5ef 100644
--- a/frame.c
+++ b/frame.c
@@ -1,4 +1,4 @@
-/* $Id: frame.c,v 1.19 2002/11/26 17:05:24 ukai Exp $ */
+/* $Id: frame.c,v 1.20 2002/11/26 17:08:01 ukai Exp $ */
#include "fm.h"
#include "parsetagx.h"
#include "myctype.h"
@@ -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));
}
}
}