fill-slotまたは要素の外側で定義された変数が、define-macroこの要素の内側に表示されないのはなぜですか?
<body tal:define="a string:a">
<metal:content-core fill-slot="content-core">
<metal:content-core define-macro="content-core"
tal:define="b string:b">
<div tal:content="a" />
<div tal:content="b" />
<div tal:content="c" />
</metal:content-core>
</metal:content-core>
</body>
変数を持つ tales-expression はa評価できません。もちろんb見える。
一方、変数cが次のような外側の要素で定義されている場合define-slotは、それが表示されます。
<div tal:define="c string:c">
<metal:text define-slot="content-core"></metal:text>
</div>
スロットが挿入された後にのみ変数が評価されるようです。