wycats/handlebars.js — Issue #160: Should be able to have if statement inside each
Author: sontek
Created: 2012-01-01 23:34:36+00:00
State: open

This does not work:

{{#each user.permissions}}
{{#if this.has_access}}

{{/if}}
{{/each}}

because it detects that i'm closing the if and thinks it conflicts with the closing of {{/each}}. The exact error is:

throw new Handlebars.Exception(open.original + " doesn't match " + close.original);

at line 609