HTML_ENCODE

Escapes HTML syntax characters in text, e.g. <élan> becomes &lt;élan&gt;.

Syntax 

HTML_ENCODE(text)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "<h1>Hello World!</h1>"
4
}
5
}

Formula

HTML_ENCODE(my_action.message)

Output

"&lt;h1&gt;Hello World!&lt;/h1&gt;"

Sample Actions 

Transform
My Action
Transform
HTML_ENCODE

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?