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
I’m in the process of converting a project from mustache to handlebars, and I ran into a syntactic difference that isn’t documented in the differences section.
Mustache allows whitespace between the {{ and the #, >, ^, etc., which Handlebars does not. For example this snippet:
{{ ^ user }}{{ > header_not_logged_in }}{{ / user }}
had to be changed to:
{{^ user }}{{> header_not_logged_in }}{{/ user }}
to work with Handlebars.
It may be useful to mention this in the docs.
The text was updated successfully, but these errors were encountered:
I’m in the process of converting a project from mustache to handlebars, and I ran into a syntactic difference that isn’t documented in the differences section.
Mustache allows whitespace between the
{{
and the#
,>
,^
, etc., which Handlebars does not. For example this snippet:had to be changed to:
to work with Handlebars.
It may be useful to mention this in the docs.
The text was updated successfully, but these errors were encountered: