[ic] "&" vs. "&" -- correct html links with interchange

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Sat Dec 7 14:36:01 2002


----- Original Message -----
From: <uhwduhwd@hotmail.com>
To: <interchange-users@icdevgroup.org>
Sent: Saturday, December 07, 2002 8:06 PM
Subject: Re: [ic] "&" vs. "&amp;" -- correct html links with
interchange


> ----- Original Message -----
> From: "Jon Jensen" <jon@endpoint.com>
> To: <interchange-users@icdevgroup.org>
> Sent: Saturday, December 07, 2002 7:46 PM
> Subject: Re: [ic] "&" vs. "&amp;" -- correct html links with
> interchange
>
>
> > On Sat, 7 Dec 2002 uhwduhwd@hotmail.com wrote:
> >
> > > I'm trying to validate the interchange generated webpages. But
> there is
> > > a
> > >
> > > Problem:
> > >
> > > The ampersand is nor correct. Within links it is important to
have
> it
> > > as &amp; - but interchange provides only an &
> > >
> > > Example:
> > >
> > >
>
http://some.domain.com/cgi-bin/foundation/index.html?id=Tf8wEUwW&mv_pc=
> > > 356
> > >
> > > is not valid, it must be:
> > >
> > >
>
http://some.domain.com/cgi-bin/foundation/index.html?id=Tf8wEUwW&amp;mv
> > > _pc=356
> > >
> > > that is valid.
> >
> > The Interchange link generator is intended to generate actual links
> inside
> > <a href="..."> tags, not a plain-text displayable link. If you just
> want
> > to show a link on the page, you'll have to do that extra escaping
> > yourself.
> >
> > Jon
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@icdevgroup.org
> > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> >
>
> Hello,
>
> what ever the intention of the generator is, the point is the
validity
> of the returned code. And retured code has to be valid.
>
> So, to precise my question: how to do this escaping with the
generator?
> Where is the generator located? Is it possible to do the escaping
> within Interchange, like: [some_tag]link_to_be_escaped[/some_tag]?
>
>
> Thank You for any help
>
> Uwe Disch
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>

Some addition:

the documentation of Interchange tells, that the area tag is capable of
escaping unsafe characters. So, I assume an ampersand an unsafe
character. I expect it a small fix...