summaryrefslogtreecommitdiffabout
path: root/ui-commit.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-commit.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-commit.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-commit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-commit.c b/ui-commit.c
index 6b135aa..1d12bbb 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -77,3 +77,3 @@ void print_fileinfo(struct fileinfo *info)
77 htmlf("</td><td class='%s'>", class); 77 htmlf("</td><td class='%s'>", class);
78 query = fmt("id=%s&id2=%s&path=%s", sha1_to_hex(info->old_sha1), 78 query = fmt("id=%s&amp;id2=%s&amp;path=%s", sha1_to_hex(info->old_sha1),
79 sha1_to_hex(info->new_sha1), info->new_path); 79 sha1_to_hex(info->new_sha1), info->new_path);
@@ -184,3 +184,3 @@ void cgit_print_commit(const char *hex)
184 html("<tr><th>tree</th><td colspan='2' class='sha1'><a href='"); 184 html("<tr><th>tree</th><td colspan='2' class='sha1'><a href='");
185 query = fmt("h=%s&id=%s", sha1_to_hex(commit->object.sha1), 185 query = fmt("h=%s&amp;id=%s", sha1_to_hex(commit->object.sha1),
186 sha1_to_hex(commit->tree->object.sha1)); 186 sha1_to_hex(commit->tree->object.sha1));
@@ -203,3 +203,3 @@ void cgit_print_commit(const char *hex)
203 sha1_to_hex(p->item->object.sha1)); 203 sha1_to_hex(p->item->object.sha1));
204 query = fmt("id=%s&id2=%s", sha1_to_hex(parent->tree->object.sha1), 204 query = fmt("id=%s&amp;id2=%s", sha1_to_hex(parent->tree->object.sha1),
205 sha1_to_hex(commit->tree->object.sha1)); 205 sha1_to_hex(commit->tree->object.sha1));
@@ -212,3 +212,3 @@ void cgit_print_commit(const char *hex)
212 html_attr(cgit_pageurl(cgit_query_repo, "snapshot", 212 html_attr(cgit_pageurl(cgit_query_repo, "snapshot",
213 fmt("id=%s&name=%s", hex, filename))); 213 fmt("id=%s&amp;name=%s", hex, filename)));
214 htmlf("'>%s</a></td></tr>", filename); 214 htmlf("'>%s</a></td></tr>", filename);