up.util.escapeHTML(string)
JavaScript function
Escapes the given string of HTML by replacing control chars with their HTML entities.
Parameters
string
required
The text that should be escaped.
Type: string