From 9943065ccb6532511b0c861d30fe77e8fed43a7f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 14 Aug 2026 12:09:44 -1000 Subject: Tidy the structure of the generated markup --- source/ui-diff.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/ui-diff.c') diff --git a/source/ui-diff.c b/source/ui-diff.c index 4ac3673..d6232a3 100644 --- a/source/ui-diff.c +++ b/source/ui-diff.c @@ -468,8 +468,8 @@ static void print_diffstat(const struct object_id *old_oid, html_txt(prefix); html("')"); } - html(""); - html(""); + html("\n"); + html("
\n"); max_changes = 0; cgit_diff_tree(old_oid, new_oid, inspect_filepair, prefix, ctx.qry.ignorews); @@ -719,11 +719,11 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, return; } - html("
"); + html("
\n"); if (use_ssdiff) { - html("
"); + html("
\n"); } else { - html("
"); + html("
\n"); html(""); - html("
"); } if (bodies_usable) { @@ -738,9 +738,9 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, ctx.qry.ignorews); } if (!use_ssdiff) - html("
"); - html(""); + html("\n"); + html("\n"); + html("\n"); if (show_ctrls) cgit_print_layout_end(); -- cgit v2.8.0