title: Convert plain text in to HTML
body: <p>I have a script with which at a certain point I'm getting HTML(data) with Ajax call. I have to turn this HTML in to plain text like this:</p>
  
  <pre><code>$("#div").text(data);
  </code></pre>
  
  <p>I now want to turn this around and make the text HTML again. I there an easy Jquery method of doing this? I tried:</p>
  
  <pre><code>$("#div").text(data).end().html();
  </code></pre>
  
  <p>No luck.</p>