mirror of
https://git.zx2c4.com/cgit
synced 2025-08-30 22:05:08 +00:00
Use & instead of & in URLs.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
committed by
Lars Hjemli
parent
0928d8827a
commit
1a63cfcc3d
4
ui-log.c
4
ui-log.c
@@ -114,14 +114,14 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path)
|
||||
if (ofs > 0) {
|
||||
html(" <a href='");
|
||||
html(cgit_pageurl(cgit_query_repo, cgit_query_page,
|
||||
fmt("h=%s&ofs=%d", tip, ofs-cnt)));
|
||||
fmt("h=%s&ofs=%d", tip, ofs-cnt)));
|
||||
html("'>[prev]</a> ");
|
||||
}
|
||||
|
||||
if ((commit = get_revision(&rev)) != NULL) {
|
||||
html(" <a href='");
|
||||
html(cgit_pageurl(cgit_query_repo, "log",
|
||||
fmt("h=%s&ofs=%d", tip, ofs+cnt)));
|
||||
fmt("h=%s&ofs=%d", tip, ofs+cnt)));
|
||||
html("'>[next]</a> ");
|
||||
}
|
||||
html("</div>");
|
||||
|
Reference in New Issue
Block a user