Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Bell <william.bell@frog.za.net>2012-10-09 22:45:58 +0400
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-17 18:30:02 +0400
commitc366bd6fa88fb7dbe1e42c84d56e2bda0b1682c5 (patch)
treecf00ee9a076ae721fbad53ade0189f7f97da1848 /ui-repolist.c
parentfdfb6a6d802d6b91061296eda9848d5819760d01 (diff)
ui: Remember to print ampersand as proper html entities.
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index c774632..36c067a 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -104,7 +104,7 @@ void print_sort_header(const char *title, const char *sort)
{
htmlf("<th class='left'><a href='%s?s=%s", cgit_rooturl(), sort);
if (ctx.qry.search) {
- html("&q=");
+ html("&amp;q=");
html_url_arg(ctx.qry.search);
}
htmlf("'>%s</a></th>", title);