[PATCH] more & fixes

William Bell william.bell at frog.za.net
Thu Sep 27 06:22:16 CEST 2012


that is supposed to be "&" &_amp;

seems it rendered it as a plain &

On 26/09/2012 18:26, William Bell wrote:
>  From ebf0b5b020c25b5d25b8416379f2980740d89882 Mon Sep 17 00:00:00 2001
> From: William Bell <william.bell at frog.za.net>
> Date: Wed, 26 Sep 2012 18:21:10 +0200
> Subject: [PATCH] more & 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 = "&";
>       }
>       if (search) {
>           html(delim);
>           html("q=");
>           html_attr(search);
> -        delim = "&";
> +        delim = "&";
>       }
>       if (sort) {
>           html(delim);
>           html("s=");
>           html_attr(sort);
> -        delim = "&";
> +        delim = "&";
>       }
>       if (ofs) {
>           html(delim);




More information about the CGit mailing list