Revision: 38325
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 31, 2010 01:50 by tomasdev
Initial Code
/* Sample Usage * var encodedHTML = '<a href="http://link.com">text</a>'; * var decodedHTML = html_decode(encodedHTML); */ var html_decode = function(h){ return $('<p>'+h+'</p>').text(); }
Initial URL
http://tomasdev.com.ar
Initial Description
You need jQuery to make this work.
Initial Title
One line html decode entities (jQuery)
Initial Tags
js, html, jquery
Initial Language
JavaScript