diff --git a/stagit.c b/stagit.c
index affa318..7ff036f 100644
--- a/stagit.c
+++ b/stagit.c
@@ -694,11 +694,11 @@ printcommitatom(FILE *fp, struct commitinfo *ci)
xmlencode(fp, ci->summary, strlen(ci->summary));
fputs("\n", fp);
}
- fprintf(fp, "",
+ fprintf(fp, "\n",
ci->oid);
if (ci->author) {
- fputs("", fp);
+ fputs("\n", fp);
xmlencode(fp, ci->author->name, strlen(ci->author->name));
fputs("\n", fp);
xmlencode(fp, ci->author->email, strlen(ci->author->email));