html.escape

html.escape

html.escape

Function

Escape HTML special characters.

Syntax

Parameters

None.

Return value

TypeDescription
StringEscaped HTML text.

Code Example

Notes

  • &, <, >, ", and ' are escaped.