Take the following Qute template:
{#if (condition)}
'aaaaaaaa'
{/if}
{#if (condition) }
'aaaaaaaa'
{/if}
{#if (condition) }
'aaaaaaaa
{/if}
Here a screenshot which shows in action quote problem (see the last if):

It seems when there is no space between ')' and '}' the aaaaaaaa which is a text is not be considered as string (it's OK) but when there is a a space aaaaaaaa is considered as string which is wrong.
Take the following Qute template:
Here a screenshot which shows in action quote problem (see the last if):
It seems when there is no space between ')' and '}' the
aaaaaaaawhich is a text is not be considered as string (it's OK) but when there is a a spaceaaaaaaaais considered as string which is wrong.