jQuery $().html escapes &-sign
<pre><code>var alt = json_data['alt']; // some text
var url = json_data['url']; // some url

var img_url = '&lt;img src=\'/' + url + '?h=100&amp;w=100\' alt=\'' + alt + '\'&gt;';
$('#imagepreview').html(img_url); // translates to &lt;img src="/some_url?h=100&amp;amp;w=100" alt="some_text"&gt;
</code></pre>

<p>Why does this happen and how can I prevent this?</p>
