Introduction
Introduction Statistics Contact Development Disclaimer Help
atom.xml: improve output format a bit - stagit - static git page generator
git clone git://git.codemadness.org/stagit
Log
Files
Refs
README
LICENSE
---
commit bbeffc281df6838182ea17be4b915a6f0eb97570
parent 2f7e7f2503014f66607b588f32de0b1be69c28a1
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 21 Feb 2020 13:46:23 +0100
atom.xml: improve output format a bit
Diffstat:
M stagit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/stagit.c b/stagit.c
@@ -694,11 +694,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/…
+ fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/…
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));
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.