diff options
author | Chris Mayo <aklhfex@gmail.com> | 2019-02-21 19:57:23 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-23 00:09:17 +0100 |
commit | bd0293f57015ede637b630fcaf4fc11e7697d777 (patch) | |
tree | 8777c66023013c75bcd35b8c5c68846057a08504 | |
parent | 5bd7e9bc1b6749bbb5220d6c3a990469a7b839ae (diff) | |
download | cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.gz cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.bz2 cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.zip |
ui-diff,ui-tag: don't use htmlf with non-formatted strings
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
-rw-r--r-- | ui-diff.c | 2 | ||||
-rw-r--r-- | ui-tag.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -82,7 +82,7 @@ static void print_fileinfo(struct fileinfo *info) } html("<tr>"); - htmlf("<td class='mode'>"); + html("<td class='mode'>"); if (is_null_oid(info->new_oid)) { cgit_print_filemode(info->old_mode); } else { @@ -71,7 +71,7 @@ void cgit_print_tag(char *revname) } 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 @@ void cgit_print_tag(char *revname) } 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'>"); |