Allow comments anywhere in `{{ }}` blocks

when using {{ }}, comments placed outside the JS block are read as data instead of comments.


thankfully I looked over the 'Mapped Array' and noticed my comments were being concatinated to each mapped item.

it's not a big deal but if I have comments at the top also, right after the opening {{, the code that's evaluated starts to get muddled with all the comments (readability can drop fast) leading to some things accidently being evaluated as a string in the statement without warning.

surprised this still did not happen to me! :rofl:
+1

Thanks for sharing this! I was able to repro and make a request.

1 Like