fnSanitizeHTML = function(sHTML, mOptions) {
		assert(window.html && window.html.sanitize, "Sanitizer should have been loaded");

		mOptions = mOptions || {
			uriRewriter: function(sUrl) {
				// by default, we use the URLListValidator to check the URLs

				if (URLListValidator.validate(sUrl)) {
					return sUrl;
				}
			}
		};

		var oTagPolicy = mOptions.tagPolicy || window.html.makeTagPolicy(mOptions.uriRewriter, mOptions.tokenPolicy);
		return window.html.sanitizeWithPolicy(sHTML, oTagPolicy);

	}
Strips unsafe tags and attributes from HTML.

@function
@since 1.58
@alias module:sap/base/security/sanitizeHTML
@param {string} sHTML the HTML to be sanitized.
@param {object} [mOptions={}] options for the sanitizer
@return {string} sanitized HTML
@private