Edit this page

up.util up.util.escapeHTML(string)
JavaScript function

Escapes the given string of HTML by replacing control chars with their HTML entities.

Parameters

string string

The text that should be escaped.