Proper way to decode SecurityElement.Escape using Javascript
<p>I've tried several methods to decode encoded xml using javascript. For some reason all of them ignore &apos; which causes it to fail. I can do a string.replace to fix the issue, but wondering why this happens or if there is some other method I should be using.</p>

<p>I've tried decodeURIComponent as well as another method I found on SO that puts the content in a div and then pulls it back out. Both ignore the &apos;. I also tried unescape which curiously did nothing whatsoever. It is an xml block I am decoding.</p>
