From: Hiltjo Posthuma Date: Sun, 16 Apr 2017 18:36:48 +0000 (+0200) Subject: stagit-index: remove empty h1 and add bold markup to table headers X-Git-Url: https://git.armaanb.net/?p=stagit.git;a=commitdiff_plain;h=4035291297b1a559cd5b0bf4bef65b7fe33c59c1 stagit-index: remove empty h1 and add bold markup to table headers --- diff --git a/stagit-index.c b/stagit-index.c index 0a72b33..1552f40 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -81,12 +81,14 @@ writeheader(FILE *fp) fprintf(fp, "\n", relpath); fputs("\n\n", fp); fprintf(fp, "\n\n" - "\n
\"\"

%s

%s
\n", - relpath, name, description); - fputs("
\n
\n
\n" - "\n" - "" - "\n", fp); + "\n
NameDescriptionOwnerLast commit
", relpath); + xmlencode(fp, description, strlen(description)); + fputs("
\n" + "
\n
\n
\n" + "\n" + "" + "" + "\n", fp); } void
NameDescriptionOwnerLast commit