Whenever the last attribute of a tag is not a string literal, it incorrectly includes the closing parenthesis as part of the attribute value. This causes the generated template code to have an extra closing parenthesis, and causes an "unexpected token: )" error:
Whenever the last attribute of a tag is not a string literal, it incorrectly includes the closing parenthesis as part of the attribute value. This causes the generated template code to have an extra closing parenthesis, and causes an "unexpected token: )" error:
Adding a space after the attribute fixes the issue:
But it'd be nice to not have to have this extra space every time there's a dynamic value.