NEWLINE_TO_BR

Replaces every newline (\n) with an HTML line break (<br>).

Syntax 

NEWLINE_TO_BR(text)

Examples 

Example 1

Input

{
  "my_action": {
    "message": "Hello\nWorld\n!"
  }
}

Formula

NEWLINE_TO_BR(my_action.message)

Output

"Hello<br />\nWorld<br />\n!"
Was this helpful?