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
It shouldn't be that hard to add a flag to disable this behavior, but I looking at your template, your issue is not due to the standalone behavior, but due to the use of whitespace control, as those will consume newlines (standalone does not for lines that aren't removed, i.e. </a>\n will be rendered vs. </a>). Removing the last ~, along with some stylistic cleanup that isn't substantial to the behavior seems to fix the issue:
New line characters after the start tag of a section, or after a comment, are discarded. I may be wrong but I think they shouldn't be.
Here is the example from the doc with a little modification (the
~
at the of the{{#each}}
expression was removed):with:
results in:
Instead of:
Edit: When rereading the documentation, I see that:
So I guess this post is most likely an enhancement request: would it be possible to disable this default behavior?
The text was updated successfully, but these errors were encountered: