I'm trying to use the Encode Email plugin to encode email addresses.
The email addresses are dynamic so I need to include the output from the database when I'm using set.
This is their example that doesn't use dynamic info:
{% set email = "<a href='mailto:you@example.com'>Your Name</a>" %}
{{ email | rot13 }}
And this is what I've tried that doesn't work.
{% set email = "<a href='mailto:{{ contactInfo.contactEmail }}'>{{ contactInfo.contactEmail }}</a>" %}
{{ email | rot13 }}
Is there a way to include the dynamic variables into the set statement?