[Zope] " in a let

nuno nuno@fccn.pt
Wed, 7 Mar 2001 18:31:28 -0000


i tried and it causes this exception in zope

invalid parameter: "secret name is "pup"'", for tag <dtml-let my_str='my
secret name is "pup"'>, on line 48


: (

thanks anyway
----- Original Message -----
From: "Joel Burton" <jburton@scw.org>
To: "nuno" <nuno@fccn.pt>
Cc: <zope@zope.org>
Sent: Wednesday, March 07, 2001 6:29 PM
Subject: Re: [Zope] " in a let


> On Wed, 7 Mar 2001, nuno wrote:
>
> > Hi all !
> > Has anyone accomplish to create a string in dtml which has a " (quote)
> >
> > something like
> >
> > <dtml-let my_str="aaabbb " aaabbb">
> > </dtml-let>
> >
> > I have tried the normal escape character \
> > but it didn't worked !!! : (
> >
> > <dtml-let my_str="aaabbb \" aaabbb">
> > </dtml-let>
> >
> >
> > I think that the use of " in a string is a problem in redering dtml !!!
> > am i wrong !!!
> > please tell me that i am !!
>
> Have you tried to
>
> <dtml-let my_str='my secret name is "pup"'>
>
> that should work.
>
>
> --
> Joel Burton   <jburton@scw.org>
> Director of Information Systems, Support Center of Washington
>
>