[Zope3-dev] tal:replace="default" question
Paul Winkler
pw_lists at slinkp.com
Fri May 13 10:34:57 EDT 2005
On Fri, May 13, 2005 at 05:39:56PM +0400, Dmitry Vasiliev 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'
+1. IMHO the current behavior is wrong. "replace" should always replace
the element, no exceptions.
(Zope 2 has the same bug, I just checked.)
Can you file a collector issue for this?
--
Paul Winkler
http://www.slinkp.com
More information about the Zope3-dev
mailing list