aboutsummaryrefslogtreecommitdiffstats
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
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--ChangeLog6
-rw-r--r--frame.c7
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a6b32f1..decd0ca 100644
--- 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
@@ -5174,4 +5178,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.561 2002/11/26 17:05:22 ukai Exp $
+$Id: ChangeLog,v 1.562 2002/11/26 17:08:00 ukai Exp $
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));
}
}
}