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
Indentation is not working for nested partials, nested partials are getting an extra indentation level for subsequent lines in the partial, and the lines after the partial is rendered back in the upper level template don't return to their indentation level.
For example, I am using the command line (eg. chevron -d data.json main.mustache with an empty data.json) and the following mustache template files:
Indentation is not working for nested partials, nested partials are getting an extra indentation level for subsequent lines in the partial, and the lines after the partial is rendered back in the upper level template don't return to their indentation level.
For example, I am using the command line (eg.
chevron -d data.json main.mustache
with an empty data.json) and the following mustache template files:And the expected output should be:
But I am getting:
One level nested partials work fine. This can cause an unwanted behavior specially for indentation sensitive file formats like YAML.
The text was updated successfully, but these errors were encountered: