ui: Remember to print ampersand as proper html entities.

This commit is contained in:
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);