[ZPT] I don't want "&" to be URL escaped in tal:attributes, how to do?
iap@y2fun.com
iap@y2fun.com
Thu, 17 Jan 2002 01:51:54 +0800
I confess and apologies to you guys.
That I am the fool actually.
It's ture that it shouldn't cause problem. And it didn't.
It got the suspicion from me just because it is unusually seen in a "source
view".
I have to debug more closely.
Soooooooooory about this and your kindly attentions are
very appreciated.
Iap, Singuan :-p
----- Original Message -----
From: <iap@y2fun.com>
To: <zpt@zope.org>
Sent: Wednesday, January 16, 2002 11:57 AM
Subject: [ZPT] I don't want "&" to be URL escaped in tal:attributes, how to
do?
> Hi, all
> I want to render a URL by tal:attributes:
> <a href="" tal:attributes="href python:
> here.absolute_url()+'?var1=A&var2=B'">
> the & in '?var1=A&var2=B' will be "escaped" to &
> That make unexpected URL to be generated,
> How to keep "&" to be "&" not "&"
>
> Thanks
>
> Iap, Singuan
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt
>