[ZPT] Re: Entities in Attributes
Tonico Strasser
contact_tonico at yahoo.de
Fri Apr 23 07:17:47 EDT 2004
Dieter Maurer wrote:
> Tonico Strasser wrote at 2004-4-21 17:37 +0200:
>
>>when I try the following:
>>
>><input value=" ">
>><input value=" " tal:attributes="value default">
>>
>>I get two different results. I would expect the same value.
>>
>>How can I insert the value of the first input dynamically into an attribute?
>
>
> What Zope version are you using?
Zope 2.6.4-rc1
> When I looked at the Zope 2.7 code, I had the impression
> that entity references were handled correctly *when* they
> were produced by "default".
> They were escaped, however, when they came from another expression.
Right, this seems to be fixed ind 2.7.
> In a private copy, I implemented the "structure" keyword that
> prevents escaping in a similar way to "tal:content".
Would like to see it in future TAL versions.
Thanks.
Tonico
More information about the ZPT
mailing list