You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Certain helpers don't work inside parameterised blocks #1183
Upon upgrading from 4.5.1 to 4.5.2 certain templates started to break/behave in unexpected ways. In particular constructs like the following break now:
Templatetemplate = handlebars.compileInline("{{#each names as |name|}}{{test.helper name}}{{/each}}");
System.out.println(template.apply(context));
The result would be Hello JohnHello Jeff on 4.5.1, but is empty on 4.5.2.
The root cause seems to be the change made to solve issue 820, namely the changed conditional in Variable#value (link). Effectively the new conditional now enforces that helpers may not contain a ., a behaviour which was allowed before the change and breaks existing templates relying on the old behaviour.
Activity
Certain helpers don't work inside parameterised blocks