Closed DreierF closed 2 years ago
The following soy code is formatted in a way that strips the space after the not operator:
{namespace name.space.MyTemplate} {template .myTemplate} {@param foo: ?} {if not $foo.bar} <br /> {/if} {/template}
After formatting this looks like this:
{namespace name.space.MyTemplate} {template .myTemplate} {@param foo: ?} {if not$foo.bar} <br /> {/if} {/template}
This does only seem to happen for not $foo.bar. It keeps the space as expected not $foo
not $foo.bar
not $foo
@crdev Thanks for fixing this! Any chance to publish a new release with the fix included?
The following soy code is formatted in a way that strips the space after the not operator:
After formatting this looks like this:
This does only seem to happen for
not $foo.bar
. It keeps the space as expectednot $foo