"default" keyword behaves like "nothing" with tal:replace in 2.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Won't Fix
|
Medium
|
Unassigned | ||
zope.tal |
Invalid
|
Low
|
Unassigned |
Bug Description
In a tag that uses something like tal:replace=
**** My testcase (in a blank ZPT):
[<img src="http://
tal:replace=
[<img src="http://
tal:replace=
[<img src="http://
tal:replace=
**** Expected behaviour:
In 2.9 these render to 3 little zpt.gif icons in []. Rendered source:
[<img src="http://
[<img src="http://
[<img src="http://
**** What I got:
In 2.10.3 this renders to the following html source:
[]
[]
[]
Please see attached diff for a test to reproduce the matter.
Changed in zope.tal: | |
status: | New → Confirmed |
importance: | Undecided → Low |
I think this belongs into the Zope 3 tracker since it's the Zope 3 ZPT engine