summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-05-23 22:02:18 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-23 22:02:18 (UTC)
commit62dcc05c27fa2f230a7048211337f86ba20966a5 (patch) (side-by-side diff)
tree11e639a92cce7b925220b514ee372d3236b86e49
parentbbcdc290c6c0b8121e57dbca4bd66c9e5e729959 (diff)
downloadcgit-62dcc05c27fa2f230a7048211337f86ba20966a5.zip
cgit-62dcc05c27fa2f230a7048211337f86ba20966a5.tar.gz
cgit-62dcc05c27fa2f230a7048211337f86ba20966a5.tar.bz2
Close a <tr> properly
No reason to generate illegal html. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ui-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 5c1fc33..18608b8 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -159,17 +159,17 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
}
html("<tr><td>");
url = cgit_pageurl(cgit_query_repo, "blob",
fmt("id=%s&path=%s", sha1_to_hex(fileid),
buf));
html_link_open(url, NULL, NULL);
html_txt(buf);
html_link_close();
- html("</td><tr>");
+ html("</td></tr>");
return 0;
}
static void cgit_print_branches()
{
html("<tr class='nohover'><th class='left'>Branch</th>"
"<th class='left'>Idle</th>"
"<th class='left'>Author</th>"