Incorrect angle brackets handling
Closed this issue · 2 comments
mixaildudin commented
Hello.
I've just come across the problem which stopped me for a couple of minutes to figure out the reason.
Here is the template's code similar to which I have:
@{
var a = 1;
var b = 2;
}
@if ((a + b) > 0) {
<span>Some text</span>
}
This gives me an error saying that '>' is an unexpected token. However, if I remove the inner brackets it works just perfectly.
Thank you.
kirbysayshi commented
Definitely a bug, thanks for the report!
kirbysayshi commented
Should be fixed in v0.12.3