HTML Sanitizer API
Web applications often need to work with strings of HTML on the client side, perhaps as part of a client-side templating solution, perhaps as part of rendering user generated content, etc. It is difficult to do so in a safe way.
https://wicg.github.io/sanitizer-api/