stagit

static git page generator  https://git.ce9e.org
git clone https://git.ce9e.org/stagit.git

commit
bbeffc281df6838182ea17be4b915a6f0eb97570
parent
2f7e7f2503014f66607b588f32de0b1be69c28a1
Author
Hiltjo Posthuma <hiltjo@codemadness.org>
Date
2020-02-21 12:46
atom.xml: improve output format a bit

Diffstat

M stagit.c 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/stagit.c b/stagit.c

@@ -694,11 +694,11 @@ printcommitatom(FILE *fp, struct commitinfo *ci)
  694   694 		xmlencode(fp, ci->summary, strlen(ci->summary));
  695   695 		fputs("</title>\n", fp);
  696   696 	}
  697    -1 	fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.html\" />",
   -1   697 	fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.html\" />\n",
  698   698 	        ci->oid);
  699   699 
  700   700 	if (ci->author) {
  701    -1 		fputs("<author><name>", fp);
   -1   701 		fputs("<author>\n<name>", fp);
  702   702 		xmlencode(fp, ci->author->name, strlen(ci->author->name));
  703   703 		fputs("</name>\n<email>", fp);
  704   704 		xmlencode(fp, ci->author->email, strlen(ci->author->email));