Forum Documentation Showcase Pricing Learn more

Dynamic HTML in SendGrid templates shows up as code

Hey fellas,

I have a SendGrid transactional email template set up, in which I need to insert some HTML.

I have placed a Code Module in the template, and inside it is the substitute tag:

36%20PM

However, when I test send the email, it’s formatted as code, instead of actually rendering the HTML:
image

Thought this would be pretty straightforward, but I must be missing something here.

Anyone know how this can be fixed?

Add an extra layer of {}

So for your example it should be {{{itineraryText}}}

Worked like a charm! Thanks @Vin :slightly_smiling_face:

1 Like