diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Tidy the structure of the generated markup
Diffstat (limited to '')
-rw-r--r--source/ui-summary.c4
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-summary.c b/source/ui-summary.c
index e4069c6..2310e5c 100644
--- a/source/ui-summary.c
+++ b/source/ui-summary.c
@@ -44,7 +44,7 @@ static void print_clone_url(const char *url)
// cgit_add_clone_urls may call back no times at all, so the heading
// waits for a first url rather than being printed ahead of the walk.
if (clone_urls_printed++ == 0) {
- htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>", columns);
+ htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>\n", columns);
htmlf("<tr class='nohover'><th class='left' colspan='%d'>Clone</th></tr>\n", columns);
}
@@ -128,7 +128,7 @@ void cgit_print_summary(void)
}
clone_urls_printed = 0;
cgit_add_clone_urls(print_clone_url);
- html("</table>");
+ html("</table>\n");
cgit_print_layout_end();
}