# html.escape ## Function Escape HTML special characters. ## Syntax ```bt html(text).escape() ``` ## Parameters None. ## Return value | Type | Description | | ------ | ------ | | String | Escaped HTML text. | ## Code Example ```bt result = html('

BT & "Web"

').escape() // Output: <p>BT & "Web"</p> print result ``` ## Notes - `&`, `<`, `>`, `"`, and `'` are escaped.