Insert &#039; into a JS object
<p>I'm using jquery to insert a string into an object with .html().</p>

<p>The problem is that if I insert the escaped ' which is <code>&amp;#039;</code> it automatically decodes it.</p>

<p>I've tried .text() with the same result.</p>

<p>How can I add a string to an element in an object, when that string contains <code>&amp;#039;</code> and not have it automatically decoded?</p>

<p>For example, I want to insert this string into the second td:</p>

<pre><code>&amp;#039; &amp;quot; &amp;lt; &amp;gt;
</code></pre>

<p>Using .html() I get:</p>

<pre><code>&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;' " &amp;lt; &amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;
</code></pre>

<p>Thanks</p>
