Y
Hacker News
new
|
ask
|
show
|
jobs
by
insanitybit
7 days ago
> In the case of writing to the DOM, that means you use .innerText rather than .innerHTML.
This is even enforceable with Trusted Types.