summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_mbox.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index e6c756f..34b9b4a 100644
--- a/sfeed_mbox.c
+++ b/sfeed_mbox.c
@@ -123,6 +123,11 @@ printfeed(FILE *fp, const char *feedname)
}
if (usecontent) {
fputs("\n", stdout);
+ if (ishtml && fields[FieldLink][0]) {
+ fputs("<base href=\"", stdout);
+ xmlencode(fields[FieldLink], stdout);
+ fputs("\"/>\n", stdout);
+ }
printcontent(fields[FieldContent], stdout);
}
fputs("\n\n", stdout);