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-tag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-tag.c') 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-70-g09d2