title: Converting &amp; to & using Jquery/JS
body: <p>A lot of answers to this question are to use <code>replace()</code> but I need a generic solution.. I am using an API and I get some JSON code, I use JQuery's <code>$.each</code> to go through the data but then the ampersands get escaped into <code>&amp;amp;</code>, I am not sure what other kinds of entities I can find, so I need to convert the <code>&amp;amp;</code> and any other possible entities (like <code>&amp;quot;</code>, <code>&amp;lt;</code> etc..) to their corresponding characters.</p>