Marketo email template do not encode HTML | Community
Skip to main content
Level 2
March 7, 2022
Solved

Marketo email template do not encode HTML

  • March 7, 2022
  • 1 reply
  • 1328 views

Hi,

 

Is there a way to have Marketo not escape HTML of a specific email module? Currently the system is encoding "&" to "amp;" and it breaks a third party tool we are attempting to use. I didn't see any template specific syntax and am curious to see if anyone has a workaround.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

If you use a Velocity token, you can control whether characters are encoded ($esc.html) or not.

 

But this 3rd-party tool sounds badly broken if it doesn’t get that ambiguous characters must be encoded in HTML.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
March 7, 2022

If you use a Velocity token, you can control whether characters are encoded ($esc.html) or not.

 

But this 3rd-party tool sounds badly broken if it doesn’t get that ambiguous characters must be encoded in HTML.