Search code examples
htmlemailzurb-foundationhtml-emailzurb-ink

Escaping '<' character in Foundation for Email, Zurb


I'm using https://foundation.zurb.com/emails.html to develop my email templates. For each and every template there are parts where I need to add eg. <%= params.someData %> but '<' gets escaped while compiling, so instead of being <%= params.someData %> it generates to &lt;%= params.firstName %>

I see that https://foundation.zurb.com/sites/docs/panini.html is used for compiling but I'm not able to disabled this functionality in order for < character not to be escaped.

Please help.


Solution

  • You can use the integrated raw helper to do this.

    Either use {{{{raw}}}}...{{{{/raw}}}} or <raw>...</raw>.