summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_mbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index 34b9b4a..cd6e65d 100644
--- a/sfeed_mbox.c
+++ b/sfeed_mbox.c
@@ -104,14 +104,14 @@ printfeed(FILE *fp, const char *feedname)
fputs("Link: <a href=\"", stdout);
xmlencode(fields[FieldLink], stdout);
fputs("\">", stdout);
- fputs(fields[FieldLink], stdout);
+ xmlencode(fields[FieldLink], stdout);
fputs("</a><br/>\n", stdout);
}
if (fields[FieldEnclosure][0]) {
fputs("Enclosure: <a href=\"", stdout);
xmlencode(fields[FieldEnclosure], stdout);
fputs("\">", stdout);
- fputs(fields[FieldEnclosure], stdout);
+ xmlencode(fields[FieldEnclosure], stdout);
fputs("</a><br/>\n", stdout);
}
fputs("</p>\n", stdout);