Said another way, the transclusion of <<actions>>
in the tag-picker
, fails if the transclusion contains nested variables:
\procedure tag-actions()
\procedure update()
<!-- do things -->
\end update
<<update>>
\end tag-actions
<$transclude $variable=tag-picker tagField="my-tags" actions=<<tag-actions>> />
Output:
Workaround: Move the inner procedure outside the outer procedure.
EDIT: updated the code for clarity