Commit 056e30c8ae0a8bfee4f2f271177cc1ae4b923eb2

Tracey Emery 2020-02-06T23:34:49

also add the kcgi element ... whoops

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index df1ea65..d92f077 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -2500,6 +2500,10 @@ gw_output_repo_tags(struct gw_trans *gw_trans, struct gw_header *header,
 				error = got_error_from_errno("asprintf");
 				goto done;
 			}
+			kerr = khtml_attr(gw_trans->gw_html_req, KELEM_A,
+			    KATTR_HREF, href_tag, KATTR__MAX);
+			if (kerr != KCGI_OK)
+				goto done;
 			kerr = khtml_puts(gw_trans->gw_html_req, tag_commit);
 			if (kerr != KCGI_OK)
 				goto done;