aboutsummaryrefslogtreecommitdiffstats
path: root/ui-summary.c
diff options
context:
space:
mode:
authorOndrej Jirman <ondrej.jirman@zonio.net>2007-05-26 01:15:10 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-31 10:18:38 +0200
commit1a63cfcc3d83919e790e7e279eb35fc75adb0e3c (patch)
treea2c613c6ae642dd6a4015142ccf04ed7c5629b8f /ui-summary.c
parentFixed unexpected tags in html output. (diff)
downloadcgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.tar.xz
cgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.zip
Use &amp; instead of & in URLs.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-summary.c')
-rw-r--r--ui-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 18608b8..15e8aec 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -159,7 +159,7 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
}
html("<tr><td>");
url = cgit_pageurl(cgit_query_repo, "blob",
- fmt("id=%s&path=%s", sha1_to_hex(fileid),
+ fmt("id=%s&amp;path=%s", sha1_to_hex(fileid),
buf));
html_link_open(url, NULL, NULL);
html_txt(buf);