Introduction
Introduction Statistics Contact Development Disclaimer Help
tstagit-index: remove empty h1 and add bold markup to table headers - stagit - …
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 4035291297b1a559cd5b0bf4bef65b7fe33c59c1
parent 980fa8ea9bce704c9e44cfea47860e82cffec161
Author: Hiltjo Posthuma <[email protected]>
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
t@@ -81,12 +81,14 @@ writeheader(FILE *fp)
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle…
fputs("</head>\n<body>\n", fp);
fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\…
- "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><t…
- relpath, name, description);
- fputs("</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
- "<table id=\"index\"><thead>\n"
- "<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last com…
- "</thead><tbody>\n", fp);
+ "<td><span class=\"desc\">", relpath);
+ xmlencode(fp, description, strlen(description));
+ fputs("</span></td></tr><tr><td></td><td>\n"
+ "</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
+ "<table id=\"index\"><thead>\n"
+ "<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Own…
+ "<td><b>Last commit</b></td></tr>"
+ "</thead><tbody>\n", fp);
}
void
You are viewing proxied material from mx1.adamsgaard.dk. 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.