Hello I'm dipping my toes into creating a dynamic email template...
I have a custom property called answer_one. Now if I want to show an image based on answer_one's value I did this which works great:
<img src="
https://foo.com/images/{{ contact.answer_one }}.png" alt="{{ contact.answer_one }}" width="146" height="176">
But when I try {% if "foo" in answer_one %}<p>Found "Foo"</p>{% endif %} I can't ever get a true.
When I test the type of answer_one it comes back str but the lenght is quite a bit larger than the actual value.
If I do {% answer_one|tojson%} if prints "Foo". So I think it's not really a string but either an object or a string with hidden characters.
How do I do simple if/else logic on this?