Possible Duplicate:
How to decode HTML entities using jQuery?
I want to convert this text:
"<p>name</p><p><span style="font-size:xx-small;">ajde</span></p><p><em>da</em></p>"
to html, with tags and everything in Javascript or Jquery. How to do this?
$('.selector').each(function(a,b){$(b).html($(b).text())})
– Majormajordomo