cgit

commit 0071aa8612c12f626355339d2108ed4c5b336d58

Author: Lars Hjemli <hjemli@gmail.com>

ui-summary: use html_url_path()

This makes the clone urls be properly escaped.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

 ui-summary.c | 2 +-


diff --git a/ui-summary.c b/ui-summary.c
index 29e15443eddf110ac889f15b40c14da3fcdc2861..ede4a629765e4d58314d6c78e408159ef3dfddab 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -24,7 +24,7 @@ 	}
 	if (suffix && *suffix)
 		base = fmt("%s/%s", base, suffix);
 	html("<tr><td colspan='4'><a href='");
-	html_attr(base);
+	html_url_path(base);
 	html("'>");
 	html_txt(base);
 	html("</a></td></tr>\n");