aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-22 13:35:45 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-22 13:35:45 +0000
commitf95b1ecd7642716355160afe2ffb22088a358061 (patch)
treebf65f6dfebd78d4f99add6396f9c858fac623fe0 /table.c
parent[w3m-dev 02497] (diff)
downloadw3m-f95b1ecd7642716355160afe2ffb22088a358061.tar.gz
w3m-f95b1ecd7642716355160afe2ffb22088a358061.zip
[w3m-dev 02498]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'table.c')
-rw-r--r--table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/table.c b/table.c
index f40c56b..399edcf 100644
--- a/table.c
+++ b/table.c
@@ -1,4 +1,4 @@
-/* $Id: table.c,v 1.4 2001/11/16 22:02:00 ukai Exp $ */
+/* $Id: table.c,v 1.5 2001/11/22 13:35:45 ukai Exp $ */
/*
* HTML table
*/
@@ -3012,13 +3012,13 @@ feed_table(struct table *tbl, char *line, struct table_mode *mode,
q = p;
switch (ec = getescapechar(&p)) {
case '<':
- Strcat_charp(tmp, "<");
+ Strcat_charp(tmp, "&lt;");
break;
case '>':
- Strcat_charp(tmp, ">");
+ Strcat_charp(tmp, "&gt;");
break;
case '&':
- Strcat_charp(tmp, "&");
+ Strcat_charp(tmp, "&amp;");
break;
case '\r':
Strcat_char(tmp, '\n');