From 5c923f7d53965460f4867a7a51f9eb537a121b1f Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 30 Dec 2025 17:06:12 +0100 Subject: html class for css --- ui-tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui-tree.c') diff --git a/ui-tree.c b/ui-tree.c index 897a92d..349f868 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -124,6 +124,7 @@ static void print_object(const struct object_id *oid, const char *path, const ch bool is_markdown = (strncmp(".md", &basename[strlen(basename)-3], 3) == 0); cgit_print_layout_start(); + html("
"); htmlf("blob: %s (", oid_to_hex(oid)); if (is_markdown) { html("preview) ("); @@ -137,6 +138,7 @@ static void print_object(const struct object_id *oid, const char *path, const ch rev, path); } html(")\n"); + html("
"); if (ctx.cfg.max_blob_size && size / 1024 > ctx.cfg.max_blob_size) { htmlf("
blob size (%ldKB) exceeds display size limit (%dKB).
", -- cgit v1.2.3