List for cgit developers and users
 help / color / Atom feed
* [PATCH] ui-diff,ui-tag: don't use htmlf with non-formatted strings
@ 2019-02-21 19:57 aklhfex
  2019-02-22 23:09 ` [PATCH] ui-diff, ui-tag: " Jason
  0 siblings, 1 reply; 2+ messages in thread
From: aklhfex @ 2019-02-21 19:57 UTC (permalink / raw)


Signed-off-by: Chris Mayo <aklhfex at gmail.com>
---
 ui-diff.c | 2 +-
 ui-tag.c  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ui-diff.c b/ui-diff.c
index 70dcc91..c60aefd 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -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 {
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("<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'>");
-- 
2.20.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] ui-diff, ui-tag: don't use htmlf with non-formatted strings
  2019-02-21 19:57 [PATCH] ui-diff,ui-tag: don't use htmlf with non-formatted strings aklhfex
@ 2019-02-22 23:09 ` Jason
  0 siblings, 0 replies; 2+ messages in thread
From: Jason @ 2019-02-22 23:09 UTC (permalink / raw)


Thanks, merged.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-21 19:57 [PATCH] ui-diff,ui-tag: don't use htmlf with non-formatted strings aklhfex
2019-02-22 23:09 ` [PATCH] ui-diff, ui-tag: " Jason

List for cgit developers and users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/cgit

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git