cleanUpInnerHTML

external fun cleanUpInnerHTML(html: String): String

Prepare an HTML string for innerHTML assignment.

Uses a Trusted Types policy when the browser requires one. This does not sanitise the HTML: it is meant for icon data that has already been validated.