happyninjas/lex — pull request #19 by ziggys (2011-12-11 23:54:32+00:00)
Title: Nested callback parameters fix

Example:

Before:

{{ callback attr='Hello World' }}
Your name is: {{ name }} // John
Attribute: {{ attr }} // Hello World
{{ callback attr=name }}
Your name is: {{ name }} // Bob
Attribute: {{ attr }} // Nothing, or it would've shown {{ name }} from $data array, if it existed.
{{ /callback }}
{{ /callback }}

Now:

{{ callback attr='Hello World' }}
Your name is: {{ name }} // John
Attribute: {{ attr }} // Hello World
{{ callback attr=name }}
Your name is: {{ name }} // Bob
Attribute: {{ attr }} // John
{{ /callback }}
{{ /callback }}