mirror of
https://git.zx2c4.com/cgit
synced 2024-11-21 16:08:41 +00:00
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:
parent
5bd7e9bc1b
commit
bd0293f570
@ -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 {
|
||||
|
4
ui-tag.c
4
ui-tag.c
@ -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'>");
|
||||
|
Loading…
Reference in New Issue
Block a user