logoalt Hacker News

cortesoftlast Wednesday at 6:46 PM0 repliesview on HN

There could be a better name for it? like `innerSanitizedHTML` or something, that makes it clear what the difference between the two calls are. There is nothing in the wording of setHTML that makes it clear it sanitizes where innerHTML doesn't.