commit a83ff32136aa4f42d62251c30533bfe1b80b7696
parent 66f25f38f7f59c9c37bb2462143c1250a20d04b0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 21 Feb 2020 13:45:59 +0100
atom.xml: improve output format a bit
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit-gopher.c b/stagit-gopher.c
@@ -780,11 +780,11 @@ printcommitatom(FILE *fp, struct commitinfo *ci)
xmlencode(fp, ci->summary, strlen(ci->summary));
fputs("</title>\n", fp);
}
- fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.gph\" />",
+ fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.gph\" />\n",
ci->oid);
if (ci->author) {
- fputs("<author><name>", fp);
+ fputs("<author>\n<name>", fp);
xmlencode(fp, ci->author->name, strlen(ci->author->name));
fputs("</name>\n<email>", fp);
xmlencode(fp, ci->author->email, strlen(ci->author->email));