logoalt Hacker News

insanitybityesterday at 4:20 PM0 repliesview on HN

> In the case of writing to the DOM, that means you use .innerText rather than .innerHTML.

This is even enforceable with Trusted Types.