On 1 March 2011 12:00, Chris Withers <ch...@simplistix.co.uk> wrote:
> <div class="batcher"
>     tal:content="pager"/>
> ...doesn't appear to quote the html in the "pager" variable.
> This is different from normal zpt, why the change?

It should definitely escape it in exactly the same way.

> Also, as a corollary, the following appears to be a no-op:
> <div class="structure batcher"
>     tal:content="pager"/>
> Am I right?

Yes, but that's firstly because you need to use ``tal:attributes``,
secondly because there is no "structure" keyword for attributes. It is
simply not allowed to *not* escape an attribute value.

Repoze-dev mailing list

Reply via email to