I have a view token
{{ field_category }} == Content: Category
I need a condition like
if field category == “Foo & Bar”
do something
else
do something
I wrote code
{% if field_category == "Foo & Bar" %}
string1
{% else %}
string 2
{% endif %}
But it always goes for the else part even if the token value is “Foo & Bar”
Please help to find a solution