title: Prevent jQuery from escaping html entities
body: <p>I have some simple html editor. Let's say that user types following:</p>
  
  <pre><code>&lt;p&gt;Ok, this just &amp;amp; sucks :) &amp;ndash;&lt;/p&gt;
  </code></pre>
  
  <p>and it is saved to some variable:</p>
  
  <pre><code>var content = "&lt;p&gt;Ok, this just &amp;amp; sucks :) &amp;ndash;&lt;/p&gt;";
  </code></pre>
  
  <p>Now, somewhere I'm using jQuery to append this text to some element:</p>
  
  <pre><code>$(this).html(content); // where content is the string above
  </code></pre>
  
  <p>The problem is that it is escaped:</p>
  
  <pre><code>&lt;p&gt;Ok, this just &amp;amp;amp; sucks :) &amp;amp;ndash;&lt;/p&gt;
  </code></pre>
  
  <p>How can I achieve to have the exact string with &amp;amp ; and &amp;ndash ; and also to have &lt; and not &amp;lt ; because I need html tags?</p>
  
  <p>Edit: more details added</p>