aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui-shared.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 037d250..0c300be 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -1111,7 +1111,8 @@ extern void cgit_author_link(char *author)
delim = repolink(NULL, NULL, "log", NULL, NULL);
html(delim);
- htmlf("qt=author&q=%s", author);
+ htmlf("qt=author&q=");
+ html_url_arg(author);
html("'>");
html_txt(author);
html("</a>");