Native html decoding using jQuer
public javascript v1 · immutable var html_decode = function(str) { if ( ! this.textarea ) this.textarea = $('<textarea>'); return this.textarea.html(str).val(); } var html_decode = function(str) { if ( ! this.textarea ) this.textarea = $('<textarea>'); return this.textarea.html(str).val(); }