Class HtmlSanitization (2.10.0)

HtmlSanitization(value)

Option for HTML content sanitization on user input fields, for example, job description. By setting this option, user can determine whether and how sanitization is performed on these fields.

Values: HTML_SANITIZATION_UNSPECIFIED (0): Default value. HTML_SANITIZATION_DISABLED (1): Disables sanitization on HTML input. SIMPLE_FORMATTING_ONLY (2): Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags.