diff options
author | William Bell | 2012-10-09 20:45:58 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2012-10-17 16:30:02 +0200 |
commit | c366bd6fa88fb7dbe1e42c84d56e2bda0b1682c5 (patch) | |
tree | cf00ee9a076ae721fbad53ade0189f7f97da1848 /ui-repolist.c | |
parent | fdfb6a6d802d6b91061296eda9848d5819760d01 (diff) | |
download | cgit-c366bd6fa88fb7dbe1e42c84d56e2bda0b1682c5.tar.gz cgit-c366bd6fa88fb7dbe1e42c84d56e2bda0b1682c5.tar.bz2 cgit-c366bd6fa88fb7dbe1e42c84d56e2bda0b1682c5.zip |
ui: Remember to print ampersand as proper html entities.
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 2 |
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) | |||
104 | { | 104 | { |
105 | htmlf("<th class='left'><a href='%s?s=%s", cgit_rooturl(), sort); | 105 | htmlf("<th class='left'><a href='%s?s=%s", cgit_rooturl(), sort); |
106 | if (ctx.qry.search) { | 106 | if (ctx.qry.search) { |
107 | html("&q="); | 107 | html("&q="); |
108 | html_url_arg(ctx.qry.search); | 108 | html_url_arg(ctx.qry.search); |
109 | } | 109 | } |
110 | htmlf("'>%s</a></th>", title); | 110 | htmlf("'>%s</a></th>", title); |