Commit Diff


commit - dad0fde4b4035228eb341a31bc846d30750f58e0
commit + 056e30c8ae0a8bfee4f2f271177cc1ae4b923eb2
blob - df1ea650aba2c180a345f281597a8c0c906721a1
blob + d92f0774a17412ecc4a537c3fece4dfa768f7977
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -2500,6 +2500,10 @@ gw_output_repo_tags(struct gw_trans *gw_trans, struct 
 				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;