]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-view.c
Use & instead of & in URLs.
[ps-cgit] / ui-view.c
index dbe4b29d18dc8f799075d93b88b02662813e903f..88734158ed95bb636c5ad10ad43e8f3cb7597881 100644 (file)
--- 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>");