[DOCS-13661] Document triple curly brace syntax for raw/unencoded output#35302
Open
[DOCS-13661] Document triple curly brace syntax for raw/unencoded output#35302
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Preview links (active after the
|
maycmlee
reviewed
Mar 16, 2026
| ### Character escape | ||
|
|
||
| Variable content is escaped by default. To prevent content such as JSON or code from being escaped, use triple braces instead of double braces, for example: `{{{event.text}}}`. | ||
| Variable content is HTML-encoded by default. For example, special characters like `&` and `'` are converted to `&` and `'` in the rendered output. To output raw, unencoded content, use triple curly braces instead of double curly braces: |
Contributor
There was a problem hiding this comment.
Does this mean if you put this in the notification message template:
This & that
In the actual notification received, you'd see:
This & that
If so, maybe this could make it clearer:
Suggested change
| Variable content is HTML-encoded by default. For example, special characters like `&` and `'` are converted to `&` and `'` in the rendered output. To output raw, unencoded content, use triple curly braces instead of double curly braces: | |
| Variable content is HTML-encoded by default. For example, if a notification message contains special characters like `&` and `'`, the characters are converted to `&` and `'` in the rendered output. To output raw, unencoded content, use triple curly braces instead of double curly braces: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do? What is the motivation?
Fixes DOCS-13661
Expands the "Character escape" section on the Monitor Notification Variables page to document the triple curly brace syntax (
{{{variable}}}) for raw, unencoded output.Changes include:
{{variable}}HTML-encodes output by default (with concrete examples of what gets encoded){{variable}}vs{{{variable}}}{{{check_message}}}&is HTML-encodedThis behavior has been a recurring support topic (MNTS-89137, MNTS-89854, SFDC 00012692).
Merge instructions
Merge readiness: