From bd0293f57015ede637b630fcaf4fc11e7697d777 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Thu, 21 Feb 2019 19:57:23 +0000 Subject: ui-diff,ui-tag: don't use htmlf with non-formatted strings Signed-off-by: Chris Mayo --- ui-diff.c | 2 +- ui-tag.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-diff.c b/ui-diff.c index 70dcc91..c60aefd 100644 --- a/ui-diff.c +++ b/ui-diff.c @@ -82,7 +82,7 @@ static void print_fileinfo(struct fileinfo *info) } html(""); - htmlf(""); + html(""); if (is_null_oid(info->new_oid)) { cgit_print_filemode(info->old_mode); } else { diff --git a/ui-tag.c b/ui-tag.c index f530224..846d5b1 100644 --- a/ui-tag.c +++ b/ui-tag.c @@ -71,7 +71,7 @@ void cgit_print_tag(char *revname) } cgit_print_layout_start(); html("\n"); - htmlf("\n", oid_to_hex(&oid)); if (info->tagger_date > 0) { @@ -103,7 +103,7 @@ void cgit_print_tag(char *revname) } else { cgit_print_layout_start(); html("
tag name"); + html("
tag name"); html_txt(revname); htmlf(" (%s)
\n"); - htmlf("\n"); html("
tag name"); + html("
tag name"); html_txt(revname); html("
tagged object"); -- cgit v1.2.3-54-g00ecf