logoalt Hacker News

cluckindanlast Wednesday at 5:46 PM1 replyview on HN

Yes, one could simply make a setter for innerHTML which calls setHTML(). No code changes needed.


Replies

masklinnlast Wednesday at 6:30 PM

That breaks existing usages of innerhtml which may legitimately need its more dangerous features.

show 1 reply