diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-06-21 00:37:29 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-06-21 00:37:29 +0200 |
commit | d3933ef3d7f84e3bc85b66025b4822ebbd753ed8 (patch) | |
tree | ed08672fc316368bacf604035b2e2e6fb15dcf94 /sfeed_html.c | |
parent | 7bd3894befb8033ebdc252103fd0d689e655f127 (diff) |
sfeed_html, sfeed_frames: escape name
Diffstat (limited to 'sfeed_html.c')
-rw-r--r-- | sfeed_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed_html.c b/sfeed_html.c index c123411..e81e6c4 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -129,7 +129,8 @@ main(int argc, char *argv[]) fputs("\">", stdout); if(f->totalnew > 0) fputs("<b><u>", stdout); - fprintf(stdout, "%s (%lu)", f->name, f->totalnew); + printxmlencoded(f->name, stdout); + fprintf(stdout, "(%lu)", f->totalnew); if(f->totalnew > 0) fputs("</u></b>", stdout); fputs("</a></li>\n", stdout); |