I'm using this greatly appreciated library and seem to have run into a small issue with indentations. I am using version 5.5.2.
This template
a
{{~ if true ~}}
b
{{~ end ~}}
{{'c'}}
renders as
I believe we should expect only a single space indenting the c character. If we remove the first line, the if condition, or even declare c as a text block instead of a code block it renders correctly. For anyone else running into this, an easy workaround is to use a {{\u0020}} instead of the space.