diff options
context:
space:
mode:
authorOndrej Jirman <ondrej.jirman@zonio.net>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Use &amp; instead of & in URLs.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-view.c')
-rw-r--r--ui-view.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/ui-view.c b/ui-view.c
index dbe4b29..8873415 100644
--- a/ui-view.c
+++ b/ui-view.c
@@ -43,7 +43,7 @@ void cgit_print_view(const char *hex, char *path)
html(" <a href='");
html_attr(cgit_pageurl(cgit_query_repo, "blob",
- fmt("id=%s&path=%s",
+ fmt("id=%s&amp;path=%s",
hex,
path)));
html("'>download</a>");