ESCAPE_HTML4
Description
Returns a string with characters escaped according to HTML 4 standards. Converts special HTML characters into their corresponding HTML entities to safely display as literal text in web pages.
Syntax
ESCAPE_HTML4(string) -> String
Parameters
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| string | String | Yes | A text value, merge field, or expression to escape. |
Example
ESCAPE_HTML4("<div>Hello, world!</div>")
-- Returns "<div>Hello, world!</div>"