-rw-r--r-- | ui-tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,3 +19,3 @@ static void print_object(const unsigned char *sha1, char *path) unsigned long size, lineno, start, idx; - const char *linefmt = "<tr><td class='no'><a name='%1$d'>%1$d</a></td><td class='txt'>"; + const char *linefmt = "<tr><td class='no'><a id='n%1$d' name='n%1$d' href='#n%1$d'>%1$d</a></td><td class='txt'>"; @@ -39,3 +39,3 @@ static void print_object(const unsigned char *sha1, char *path) - html("<table class='blob'>\n"); + html("<table summary='blob content' class='blob'>\n"); idx = 0; @@ -110,3 +110,3 @@ static void ls_head() { - html("<table class='list'>\n"); + html("<table summary='tree listing' class='list'>\n"); html("<tr class='nohover'>"); |