Hacker News new | ask | show | jobs
by amelius 238 days ago
Ok, but be sure to make it optional. Putting 10 locks on your door is great for security, but it's not for everyone.

And instead of this security feature some might want to take a more fundamental look at security which might lead them to a completely different design. Again, make it optional.

2 comments

It is optional. Use setHTMLUnsafe.
Then just use innerHTML, it's not going away.