Skip to content

Commit 3c6e7ce

Browse files
Merge pull request #6273 from segmentio/fix-failing-deploys
Fix raw tag
2 parents 150a8ec + c9f56f6 commit 3c6e7ce

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/engage/content/email/template.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ Engage supports dynamic sending using merge tags. Personalize email content by a
7070

7171
As you configure the template, click **Merge Tags** and select the profile traits to include. Engage inserts the merge tags based on cursor placement.
7272

73-
{% raw %}
74-
7573
> success ""
76-
> - For all merge tags, you must add a `default` value inside a single quote. For example: `{{profile.traits.traits | default: 'Default'}}`
74+
> - For all merge tags, you must add a `default` value inside a single quote. For example: {% raw %}`{{profile.traits.traits | default: 'Default'}}`{% endraw %}
7775
> - Only use variable tags in [liquid sytax](https://liquidjs.com/tags/overview.html){:target="blank"}.
7876
7977
The following table contains a description and some best practices for all fields in the email template. Asterisks indicate required fields.
@@ -99,17 +97,12 @@ You can also add merge tags in the heading or body text as you design an email w
9997
### Use liquid statements with an image URL
10098

10199
If you're using the [image content module](/docs/engage/content/email/editor/#add-content-modules) in the Drag and Drop Editor, you can't use liquid statements in the **Image URL** field.
102-
{% raw %}
103100
To use liquid statements with an image, Segment recommends using an [**HTML block**](/docs/engage/content/email/editor/#add-content-modules) with the following syntax: <br>
104-
`<img src=“{{profile.traits.imageLink | default: '<insert your default URL here>'}}”`, where `profile.traits.imageLink` is an example profile trait representing personalized image links for each recipient.
105-
106-
{% endraw %}
101+
{% raw %}`<img src=“{{profile.traits.imageLink | default: '<insert your default URL here>'}}”`{% endraw %}, where `profile.traits.imageLink` is an example profile trait representing personalized image links for each recipient.
107102

108103
> info ""
109104
> To learn more about profile traits, visit Segment's [Computed Traits](/docs/unify/traits/computed-traits) and [SQL Traits](/docs/unify/traits/sql-traits/) documentation.
110105
111-
{% endraw %}
112-
113106
## Include unsubscribe and manage preference links
114107

115108
When you build an email template, you'll need to include links that your customers can access to unsubscribe and manage their email preferences. You'll find both in the **Special Links** dropdown menu of the **Insert/Edit link** window.

0 commit comments

Comments
 (0)