summaryrefslogtreecommitdiffabout
path: root/ui-log.c
authorOndrej Jirman <ondrej.jirman@zonio.net>2007-05-25 23:15:10 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-31 08:18:38 (UTC)
commit1a63cfcc3d83919e790e7e279eb35fc75adb0e3c (patch) (unidiff)
treea2c613c6ae642dd6a4015142ccf04ed7c5629b8f /ui-log.c
parent0928d8827a714f3908efa7eb9eb4cde28761af26 (diff)
downloadcgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.zip
cgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.tar.gz
cgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.tar.bz2
Use &amp; instead of & in URLs.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-log.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-log.c b/ui-log.c
index c80fd73..75bbbe4 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -115,5 +115,5 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path)
115 html("&nbsp;<a href='"); 115 html("&nbsp;<a href='");
116 html(cgit_pageurl(cgit_query_repo, cgit_query_page, 116 html(cgit_pageurl(cgit_query_repo, cgit_query_page,
117 fmt("h=%s&ofs=%d", tip, ofs-cnt))); 117 fmt("h=%s&amp;ofs=%d", tip, ofs-cnt)));
118 html("'>[prev]</a>&nbsp;"); 118 html("'>[prev]</a>&nbsp;");
119 } 119 }
@@ -122,5 +122,5 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path)
122 html("&nbsp;<a href='"); 122 html("&nbsp;<a href='");
123 html(cgit_pageurl(cgit_query_repo, "log", 123 html(cgit_pageurl(cgit_query_repo, "log",
124 fmt("h=%s&ofs=%d", tip, ofs+cnt))); 124 fmt("h=%s&amp;ofs=%d", tip, ofs+cnt)));
125 html("'>[next]</a>&nbsp;"); 125 html("'>[next]</a>&nbsp;");
126 } 126 }