Hacker News new | ask | show | jobs
by orestis 1254 days ago
In a browser context, the built-in DOMParser (perhaps wrapped in dompurify) is the way to do this. No need to look elsewhere.