Go to test/standard/processors/IfAttributeProcessor.js and run the test named "Renders the element and children if the expression is truthy"
--> Success
Change let expression = '${value}' into let expression = '${value==\'str\'}'
Few lines below, in the test data, change value: true into value: 'str'
Run the test
--> Error: Failed to parse "${value=='str'}"
Hello
Can't parse
th:if="${value=='a string'}"
Steps to reproduce :
let expression = '${value}'
intolet expression = '${value==\'str\'}'
value: true
intovalue: 'str'
Regards