about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLars Hjemli2007-06-16 21:35:58 +0200
committerLars Hjemli2007-06-16 21:35:58 +0200
commitf91b9696a36008c245a3195800ba0c5fa3e890f9 (patch)
treec064e555881d3b426b73fd841531a19c064a9984
parentui-tree: unify with ui-view, use path to select tree/blob (diff)
downloadcgit-f91b9696a36008c245a3195800ba0c5fa3e890f9.tar.gz
cgit-f91b9696a36008c245a3195800ba0c5fa3e890f9.zip
ui-tree: make blob viewer generate valid html
A leftover '</td></tr>' made ui-tree generate invalid html for blob
content. Fix it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--ui-tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-tree.c b/ui-tree.c index eb3d3ac..db0bef6 100644 --- a/ui-tree.c +++ b/ui-tree.c
@@ -47,7 +47,6 @@ static void print_object(const unsigned char *sha1, char *path)
47 } 47 }
48 idx++; 48 idx++;
49 } 49 }
50 html("\n</td></tr>\n");
51 html("</table>\n"); 50 html("</table>\n");
52} 51}
53 52