Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Macro IF statment causes HTML to render as literal string

$
0
0
The below snippet code in an email template renders the HTML tags in the email that is sent. Other HTML is rendered fine outside of the if statement.How can I get it to render Raw I guess?{% if (promoID == 1) { %} @p@Dear RECIPIENT_NAME,@/p@ @p@Now is the time to begin preparing for the {% strSpecialsOrderStart %} - {% strPromoName %} by working with your representative@/p@ {% } %}

Viewing all articles
Browse latest Browse all 8901

Trending Articles