summaryrefslogtreecommitdiff
path: root/sfeed_frames.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-03-20 20:32:20 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-03-20 20:32:20 +0100
commit3b1217f6dc518016dff7c5270fd56dd85794d4f1 (patch)
tree8f07258086912ad4403dce24bde393034617c628 /sfeed_frames.c
parent0fce72b9b3c3f3bb45c3ed9b8916dae96a7a5d75 (diff)
sfeed_frames: also XML encode formatted time (just in case)
Diffstat (limited to 'sfeed_frames.c')
-rw-r--r--sfeed_frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index ad21e5e..cd873c1 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -208,7 +208,7 @@ printfeed(FILE *fpitems, FILE *fpin, struct feed *f)
else
fputs("<tr>", fpitems);
fputs("<td nowrap valign=\"top\">", fpitems);
- fputs(fields[FieldTimeFormatted], fpitems);
+ xmlencode(fields[FieldTimeFormatted], fpitems);
fputs("</td><td nowrap valign=\"top\">", fpitems);
if (isnew)
fputs("<b><u>", fpitems);