HML Merge Field Modifiers in Account Engagement

The merge field values you embed in your content can vary in format and use. Modifiers are strings added to merge fields that tell the system how to format the output. Handlebars Merge Language (HML) supports modifiers that protect sensitive information and keeps your embedded data clean for people to read.

Required Editions

Available in: All Account Engagement Editions
Note
Note With HML, modifiers aren’t necessary for merge fields contained in links.

Modifiers are ways of formatting merge fields to protect your embedded data and ensure it’s inserted properly. HML fields use two curly braces to render HTML-escaped data. To keep the value in its raw form, add a third curly brace.

Tip
Tip If you notice special characters being stripped from prospect data, add a third bracket to your merge field to use the raw modifier. For example, if a company name includes an ampersand and you see it replaced with “&”, make the merge field {{{Recipient.Company}}}.

Use this table to determine how to format your modified merge field.

Modifier Type Format Use Case
HTML (Standard) {{Object.FieldName}}
  • Use for most merge fields to ensure that data is inserted correctly.
Raw {{{Object.FieldName}}}
  • Insert a complete URL.
  • Insert a code snippet or special characters that you don’t want modified.