escape special characters
parse sepcial symbol to character entity from html string, easy to use.
support browser:
- IE8+
- Chrome
- Firefox
- Safari
- Opera
- support CommonJS,AMD,CMD
- parse more symbol to charter entity
adding 😅
- http://dev.w3.org/html5/html-author/charref
- http://www.w3.org/TR/html4/sgml/entities.html
- http://www.htmlhelp.com/reference/html40/entities/
@%#$&^%%^&%&