[Zope3-dev] tal:replace="default" question

Andreas Jung lists at andreas-jung.com
Fri May 13 09:58:21 EDT 2005



--On Freitag, 13. Mai 2005 17:39 Uhr +0400 Dmitry Vasiliev 
<lists at hlabs.spb.ru> wrote:

>
> Shouldn't '<span tal:replace="default">42</span>' return '42' instead of
> '<span>42</span>'?
>
> I think about these cases:
>
> '<span tal:content="default">42</span>'  =>  '<span>42</span>'
> '<span tal:replace="default">42</span>'  =>  '42'

it works as expected if you redefine 'default' on your own...so it is 
working
except in this esoteric context.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20050513/c5450a98/attachment.bin


More information about the Zope3-dev mailing list