Adding {{!~}} to the end of a line in a htmlbars template file allows suppressing whitespace between that comment and the first non-whitespace character on the next line.
In my case this is useful when converting templates created in emblem (which by default suppresses whitespace) to htmlbars, without needing to manually squish all the dom tags together.
This behavior wasn't documented or tested anywhere. Hence this PR.
Adding
{{!~}}
to the end of a line in a htmlbars template file allows suppressing whitespace between that comment and the first non-whitespace character on the next line.In my case this is useful when converting templates created in emblem (which by default suppresses whitespace) to htmlbars, without needing to manually squish all the dom tags together.
This behavior wasn't documented or tested anywhere. Hence this PR.
related: https://github.com/tildeio/htmlbars/issues/305