assert_html_equal_with_options = (
	actual,
	expected,
	{ preserveComments, withoutNormalizeHtml },
	message
) => {
	try {
		assert.deepEqual(
			withoutNormalizeHtml
				? normalize_new_line(actual.trim()).replace(
						/(<!(--)?.*?\2>)/g,
						preserveComments !== false ? '$1' : ''
					)
				: normalize_html(window, actual.trim(), { preserveComments }),
			withoutNormalizeHtml
				? normalize_new_line(expected.trim()).replace(
						/(<!(--)?.*?\2>)/g,
						preserveComments !== false ? '$1' : ''
					)
				: normalize_html(window, expected.trim(), { preserveComments }),
			message
		);
	} catch (e) {
		if (Error.captureStackTrace)
			Error.captureStackTrace(/** @type {Error} */ (e), assert_html_equal_with_options);
		throw e;
	}
}
@param {string} actual
@param {string} expected
@param {{ preserveComments?: boolean, withoutNormalizeHtml?: boolean }} param2
@param {string} [message]