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 }}
#if with empty body causes 'Sequence contains no elements' error #202
The following template content results in a 'Sequence contains no elements' error when an attempt is made to compile it:
{{#if false}}
{{else}}
{{/if}}
If you add a blank line between the {{#if false}} and the {{else}} then it works fine.
[ The example above is not what I was actually trying to use. I was calling a helper and got the same error; the template above was a simple way of illustrating the problem. ]
Reacted by Eric Lee, Anthony Pensiero and Constantine Dokolas
Activity