cgit

commit bd0293f57015ede637b630fcaf4fc11e7697d777

Author: Chris Mayo <aklhfex@gmail.com>

ui-diff,ui-tag: don't use htmlf with non-formatted strings

Signed-off-by: Chris Mayo <aklhfex@gmail.com>

 ui-diff.c | 2 +-
 ui-tag.c | 4 ++--


diff --git a/ui-diff.c b/ui-diff.c
index 70dcc915ddd47117a5f75a1745117018ad24f688..c60aefd1d629826e081329713324b7b35b6dff8e 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -82,7 +82,7 @@ 		die("bug: unhandled diff status %c", info->status);
 	}
 
 	html("<tr>");
-	htmlf("<td class='mode'>");
+	html("<td class='mode'>");
 	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 f530224661aed0b8e15dd289b504d8d241e2f167..846d5b141f4380b4d1ff0b612566136cf0633645 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -71,7 +71,7 @@ 			goto cleanup;
 		}
 		cgit_print_layout_start();
 		html("<table class='commit-info'>\n");
-		htmlf("<tr><td>tag name</td><td>");
+		html("<tr><td>tag name</td><td>");
 		html_txt(revname);
 		htmlf(" (%s)</td></tr>\n", oid_to_hex(&oid));
 		if (info->tagger_date > 0) {
@@ -103,7 +103,7 @@ 		cgit_free_taginfo(info);
 	} else {
 		cgit_print_layout_start();
 		html("<table class='commit-info'>\n");
-		htmlf("<tr><td>tag name</td><td>");
+		html("<tr><td>tag name</td><td>");
 		html_txt(revname);
 		html("</td></tr>\n");
 		html("<tr><td>tagged object</td><td class='sha1'>");