summaryrefslogtreecommitdiffabout
path: root/ui-view.c
Side-by-side diff
Diffstat (limited to 'ui-view.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-view.c b/ui-view.c
index dbe4b29..8873415 100644
--- a/ui-view.c
+++ b/ui-view.c
@@ -40,13 +40,13 @@ void cgit_print_view(const char *hex, char *path)
htmlf("%s %s, %li bytes", typename(type), hex, size);
if (path)
html(")");
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>");
html("</th></tr>\n");
html("<tr><td class='blob'>\n");
html_txt(buf);