stagit-index: remove empty h1 and add bold markup to table headers - stagit-gopher - A git gopher frontend. (mirror)
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
Log
Files
Refs
Tags
README
LICENSE
---
commit 4035291297b1a559cd5b0bf4bef65b7fe33c59c1
parent 980fa8ea9bce704c9e44cfea47860e82cffec161
Author: Hiltjo Posthuma 
Date:   Sun, 16 Apr 2017 20:36:48 +0200

stagit-index: remove empty h1 and add bold markup to table headers

Diffstat:
  M stagit-index.c                      |      14 ++++++++------

1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git 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