ultraq / thymeleafjs

A basic implementation of the Thymeleaf templating engine in JavaScript
Apache License 2.0
52 stars 8 forks source link

th:if fails to parse equality against a literal string #47

Open abousta opened 2 years ago

abousta commented 2 years ago

Hello

Can't parse th:if="${value=='a string'}"

Steps to reproduce :

Regards

abousta commented 2 years ago

Note that an alternative syntax like th:if="${value}=='a string'" (ie test condition outside of brackets) works fine