Introduction
Introduction Statistics Contact Development Disclaimer Help
timprove HTML code - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 0808028312c76abf2fdd51678bd8ce28c2e8b2a5
parent 53d6b47cc28903f9344245a36d33be6d0a6eee45
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 7 Dec 2015 19:00:30 +0100
improve HTML code
Diffstat:
M urmoms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/urmoms.c b/urmoms.c
t@@ -510,7 +510,7 @@ writefiles(FILE *fp)
git_repository_index(&index, repo);
count = git_index_entrycount(index);
- fputs("<table><thead><tr><td>Mode</td><td>Name</td><td>Size</td></tr><…
+ fputs("<table><thead>\n<tr><td>Mode</td><td>Name</td><td align=\"right…
for (i = 0; i < count; i++) {
entry = git_index_get_byindex(index, i);
t@@ -522,7 +522,7 @@ writefiles(FILE *fp)
xmlencode(fp, entry->path, strlen(entry->path));
fputs("</a></td><td align=\"right\">", fp);
fprintf(fp, "%" PRIu64, entry->file_size);
- fputs("</td></tr>", fp);
+ fputs("</td></tr>\n", fp);
}
fputs("</tbody></table>", fp);
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.