From ebf0b5b020c25b5d25b8416379f2980740d89882 Mon Sep 17 00:00:00 2001
From: William Bell <[email protected]>
Date: Wed, 26 Sep 2012 18:21:10 +0200
Subject: [PATCH] more &amp; fixes

---
 ui-shared.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ui-shared.c b/ui-shared.c
index ddbf632..18def4c 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -146,19 +146,19 @@ static void site_url(const char *page, const char *search, const char *sort, int

     if (page) {
         htmlf("?p=%s", page);
-        delim = "&";
+        delim = "&amp;";
     }
     if (search) {
         html(delim);
         html("q=");
         html_attr(search);
-        delim = "&";
+        delim = "&amp;";
     }
     if (sort) {
         html(delim);
         html("s=");
         html_attr(sort);
-        delim = "&";
+        delim = "&amp;";
     }
     if (ofs) {
         html(delim);
--
1.7.9.5


_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to