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

Signed-off-by: Chris Mayo <aklhfex@gmail.com>
This commit is contained in:
Chris Mayo 2019-02-21 19:57:23 +00:00 committed by Jason A. Donenfeld
parent 5bd7e9bc1b
commit bd0293f570
2 changed files with 3 additions and 3 deletions

View file

@ -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 {