]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
Fix html error detected by test-suite
[ps-cgit] / ui-summary.c
index 39fe33078b737b8c4d7f58e6344677149e0a4604..b96414e18a826009c782794beca8897186fd07e5 100644 (file)
@@ -56,7 +56,7 @@ static int print_branch(struct refinfo *ref)
        if (!info)
                return 1;
        html("<tr><td>");
-       cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0);
+       cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL);
        html("</td><td>");
 
        if (ref->object->type == OBJ_COMMIT) {
@@ -190,7 +190,7 @@ void cgit_print_summary()
        if (cgit_summary_log > 0)
                cgit_print_log(cgit_query_head, 0, cgit_summary_log, NULL,
                               NULL, NULL, 0);
-       html("<table class='list nowrap'>");
+       html("<table summary='repository info' class='list nowrap'>");
        if (cgit_summary_log > 0)
                html("<tr class='nohover'><td colspan='4'>&nbsp;</td></tr>");
        cgit_print_branches(cgit_summary_branches);