On Friday 13 May 2005 10:34, Paul Winkler wrote: > 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?
He just told us on #zope3-dev that he is almost done fixing it on the Zope 3 branch. Dimitry recently did some other great bug-fixes in TAL that need back-porting to Zope 2. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com