src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
function sanitize(inputHtml, opt_naiveUriRewriter, opt_nmTokenPolicy) {
    var tagPolicy = makeTagPolicy(opt_naiveUriRewriter, opt_nmTokenPolicy);
    return sanitizeWithPolicy(inputHtml, tagPolicy);
  }
function sanitize(inputHtml, opt_naiveUriRewriter, opt_nmTokenPolicy) {
    var tagPolicy = makeTagPolicy(opt_naiveUriRewriter, opt_nmTokenPolicy);
    return sanitizeWithPolicy(inputHtml, tagPolicy);
  }
function sanitize ( inputHtml , opt_naiveUriRewriter , opt_nmTokenPolicy ) { var tagPolicy = makeTagPolicy ( opt_naiveUriRewriter , opt_nmTokenPolicy ) ; return sanitizeWithPolicy ( inputHtml , tagPolicy ) ; }
Strips unsafe tags and attributes from HTML.
@param {string} inputHtml The HTML to sanitize.
@param {?function(?string): ?string} opt_naiveUriRewriter A transform to
apply to URI attributes.  If not given, URI attributes are deleted.
@param {function(?string): ?string} opt_nmTokenPolicy A transform to apply
to attributes containing HTML names, element IDs, and space-separated
lists of classes.  If not given, such attributes are left unchanged.
Strips unsafe tags and attributes from HTML .