author | Lars Hjemli <hjemli@gmail.com> | 2007-07-22 23:42:49 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-07-22 23:42:49 (UTC) |
commit | 43291e418ab6c736168effc017f9548bacb84e5e (patch) (side-by-side diff) | |
tree | f6b4e4139d02f3c24e390eaabef5d2ae21fe5829 | |
parent | f405d0bf75427c627778027e9900359335d6774e (diff) | |
download | cgit-43291e418ab6c736168effc017f9548bacb84e5e.zip cgit-43291e418ab6c736168effc017f9548bacb84e5e.tar.gz cgit-43291e418ab6c736168effc017f9548bacb84e5e.tar.bz2 |
Make ui-tag.c generate valid xhtml
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,25 +48,25 @@ void cgit_print_tag(char *revname) if (obj->type == OBJ_TAG) { tag = lookup_tag(sha1); if (!tag || parse_tag(tag) || !(info = cgit_parse_tag(tag))) { cgit_print_error(fmt("Bad tag object: %s", revname)); return; } html("<table class='commit-info'>\n"); htmlf("<tr><td>Tag name</td><td>%s (%s)</td></tr>\n", revname, sha1_to_hex(sha1)); if (info->tagger_date > 0) { html("<tr><td>Tag date</td><td>"); cgit_print_date(info->tagger_date, FMT_LONGDATE); - html("</td><tr>\n"); + html("</td></tr>\n"); } if (info->tagger) { html("<tr><td>Tagged by</td><td>"); html_txt(info->tagger); html("</td></tr>\n"); } html("<tr><td>Tagged object</td><td>"); cgit_object_link(tag->tagged); html("</td></tr>\n"); html("</table>\n"); print_tag_content(info->msg); } |