>
> html = DIV("foo", SPAN("bar"))
>
> {{=XML(str(T(str(html))))}}
>
Note, instead of str(T(...)), you can now do:

{{=XML(T(str(html), lazy=False))}}

You can also do:

{{T.lazy = False}}
{{=XML(T(str(html)))}}
{{=XML(T(str(other_html)))}}

Once T.lazy is set to False, all subsequent calls to T() will return 
strings instead of lazyT objects.

Anthony 

Reply via email to