Loading homepage
Input: sanitizeHTML('<p onclick="run()">Hi <strong>there</strong><script>bad()</script></p>'); Output: <p>Hi <strong>there</strong></p>
Input: sanitizeHTML('<div><a href="javascript:bad()" target="_blank">Open</a></div>'); Output: <a>Open</a>
Implement the exported API in index.js or index.ts. Tests cover the contract and edge cases below.