Use & instead of & in URLs.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
此提交包含在:
Ondrej Jirman
2007-05-26 01:15:10 +02:00
提交者 Lars Hjemli
父節點 0928d8827a
當前提交 1a63cfcc3d
共有 6 個檔案被更改,包括 13 行新增13 行删除

查看文件

@ -114,14 +114,14 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path)
if (ofs > 0) {
html("&nbsp;<a href='");
html(cgit_pageurl(cgit_query_repo, cgit_query_page,
fmt("h=%s&ofs=%d", tip, ofs-cnt)));
fmt("h=%s&amp;ofs=%d", tip, ofs-cnt)));
html("'>[prev]</a>&nbsp;");
}
if ((commit = get_revision(&rev)) != NULL) {
html("&nbsp;<a href='");
html(cgit_pageurl(cgit_query_repo, "log",
fmt("h=%s&ofs=%d", tip, ofs+cnt)));
fmt("h=%s&amp;ofs=%d", tip, ofs+cnt)));
html("'>[next]</a>&nbsp;");
}
html("</div>");