ui: Remember to print ampersand as proper html entities.

这个提交包含在:
William Bell
2012-10-09 20:45:58 +02:00
提交者 Jason A. Donenfeld
父节点 fdfb6a6d80
当前提交 c366bd6fa8
共有 2 个文件被更改,包括 8 次插入8 次删除

查看文件

@@ -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);