Hacker News new | ask | show | jobs
by randomfool 1502 days ago
Please do not re-implement HTML sanitization. Just replace that escapeForHTML and innerHTML assignment with a later textContent assignment. Please. Pretty please.
1 comments

That seems like a good improvement. Pull requests welcome!