public

String.prototype.encodeHTMLEntities, Encoding HTML Entities with JavaScript

  • Download Gist

Got a decode version?

A 'decoded' version is there: http://stackoverflow.com/questions/1354064/how-to-convert-characters-to-html-entities-using-plain-javascript from user Chris. 34quo38amp is 34->quot, 38->amp and so on...

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.