List for cgit developers and users
 help / color / mirror / Atom feed
From: william.bell at frog.za.net (William Bell)
Subject: [PATCH] more & fixes
Date: Thu, 27 Sep 2012 06:22:16 +0200	[thread overview]
Message-ID: <5063D478.2010103@frog.za.net> (raw)
In-Reply-To: <50632CC9.6080204@frog.za.net>

that is supposed to be "&amp;" &_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 &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);




  reply	other threads:[~2012-09-27  4:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 16:26 william.bell
2012-09-27  4:22 ` william.bell [this message]
2012-10-08 21:42   ` Jason
2012-10-09 18:38     ` william.bell
2012-10-09 18:48       ` Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5063D478.2010103@frog.za.net \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).