Closed mingwho closed 4 years ago
Thanks for opening this, @mingwho!
It looks like you've run into #12 which is a bug relating to precedence in the parser, I think. It's been a while, but I recall that you can workaround this problem by using parentheses to group property accesses. So, this should work:
{% if (toothbrush.cost) == (toothpaste.cost) %} same price {% endif %}
Thanks for the prompt reply @tyler-sommer! This workaround works
Hi @mingwho! I just merged a PR that should take care of the original bug in #28.
@tyler-sommer Thank you buddy! Working now 👍
Hi Tyler, I was trying to do something like the following
It was throwing an error
expected "TAG_CLOSE", got "PUNCTUATION" on line 1, column 43
This seems like a bug in the library?