Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well ,could it be safelySetHTML instead of setSafeHTML ?

The second one could imply the HTML is already safe while the first one is safe way to set html.

If it's just setHTML then it could imply that don't care if its safe or not.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: