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 _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com