Is there an easy way to take a string of html in JavaScript and strip out the html?
Using Jquery:
function stripTags() { return $('').html(textToEscape).text() }