atom.xml: improve output format a bit
1 files changed, 2 insertions(+), 2 deletions(-) | |||
---|---|---|---|
M | stagit.c | +2 | -2 |
1@@ -694,11 +694,11 @@ printcommitatom(FILE *fp, struct commitinfo *ci)
2 xmlencode(fp, ci->summary, strlen(ci->summary));
3 fputs("</title>\n", fp);
4 }
5- fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.html\" />",
6+ fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.html\" />\n",
7 ci->oid);
8
9 if (ci->author) {
10- fputs("<author><name>", fp);
11+ fputs("<author>\n<name>", fp);
12 xmlencode(fp, ci->author->name, strlen(ci->author->name));
13 fputs("</name>\n<email>", fp);
14 xmlencode(fp, ci->author->email, strlen(ci->author->email));