diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Replace `nbsp` spacing with CSS
Diffstat (limited to 'source/ui-summary.c')
-rw-r--r--source/ui-summary.c8
1 file changed, 4 insertions, 4 deletions
diff --git a/source/ui-summary.c b/source/ui-summary.c
index 2310e5c..3658bc5 100644
--- a/source/ui-summary.c
+++ b/source/ui-summary.c
@@ -44,8 +44,8 @@ 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>\n", columns);
- htmlf("<tr class='nohover'><th class='left' colspan='%d'>Clone</th></tr>\n", columns);
+ htmlf("<tr class='nohover'><td colspan='%d'></td></tr>\n", columns);
+ htmlf("<tr class='nohover'><th colspan='%d' class='left'>Clone</th></tr>\n", columns);
}
htmlf("<tr><td colspan='%d' class='clone-url'><a rel='vcs-git' href='", columns);
@@ -119,10 +119,10 @@ void cgit_print_summary(void)
cgit_print_layout_start();
html("<table class='list'>\n");
cgit_print_branches(ctx.cfg.summary_branches);
- htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>\n", columns);
+ htmlf("<tr class='nohover'><td colspan='%d'></td></tr>\n", columns);
cgit_print_tags(ctx.cfg.summary_tags);
if (ctx.cfg.summary_log > 0) {
- htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>\n", columns);
+ htmlf("<tr class='nohover'><td colspan='%d'></td></tr>\n", columns);
cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL,
NULL, NULL, 0, 0, 0);
}