about summary refs log tree commit diff
path: root/ui-diff.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-11-11 13:04:28 +0100
committerLars Hjemli <hjemli@gmail.com>2007-11-11 13:04:28 +0100
commit2915483ef6c9c29ac1493e6945688bb62f7825b4 (patch)
tree3ee4afec27ec8cb0ad5e10008f3bd8c994747c39 /ui-diff.c
parentCreate initial testsuite (diff)
downloadcgit-pink-2915483ef6c9c29ac1493e6945688bb62f7825b4.tar.gz
cgit-pink-2915483ef6c9c29ac1493e6945688bb62f7825b4.zip
Fix html error detected by test-suite
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--ui-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-diff.c b/ui-diff.c
index ac9a3fa..4fcf852 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -141,7 +141,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, const char *prefi
 		if (!commit2 || parse_commit(commit2))
 			cgit_print_error(fmt("Bad commit: %s", sha1_to_hex(old_rev_sha1)));
 	}
-	html("<table class='diff'>");
+	html("<table summary='diff' class='diff'>");
 	html("<tr><td>");
 	cgit_diff_tree(old_rev_sha1, new_rev_sha1, filepair_cb, prefix);
 	html("</td></tr>");