1. Docs
  2. Formulas
  3. Functions

HTML_DECODE

Converts escaped characters in text to HTML syntax characters, e.g. `&lt;élan&gt;` becomes `<élan>`.

Categories: Text

Syntax

HTML_DECODE(text)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"message": "&lt;h1&gt;Hello World!&lt;/h1&gt;"
4
}
5
}

Formula

HTML_DECODE(my_action.message)

Output

"<h1>Hello World!</h1>"

Sample actions

Event Transform
My Action
Event Transform
HTML_DECODE

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?