title: jQuery parseHTML() is not working
body: <p>I need to render html content as html, but it is rendering as string text.</p>
  
  <pre><code>$('#description').html($.parseHTML('&lt;%=event.description%&gt;'));
  </code></pre>
  
  <p>jQuery add the text as string, it is not rendering the HTML tags, if <code>blog.description</code> contains paragraph, bold, italic and other HTML elements it renders in pure text.</p>
  
  <p>Description content is not stored as escaped HTML, is just in pure HTML.</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>## EDIT ##</strong></p>
  
  <p>I'm not using .NET Framework, just Node.JS with Express and EJS template engine.</p>
  
  <p>I store the description field in DB as both methods:</p>
  
  <p><strong>:: Decoded:</strong></p>
  
  <pre><code>"&lt;p&gt; example &lt;b&gt;text&lt;/b&gt; &lt;/p&gt;"
  </code></pre>
  
  <p><strong>:: Undecoded:</strong></p>
  
  <pre><code>"&amp;lt;p&amp;gt; example &amp;lt;b&amp;gt;text&amp;lt;&amp;#x2F;b&amp;gt; &amp;lt;&amp;#x2F;p&amp;gt;"
  </code></pre>
  
  <p>Unfortunately both ways don't make the text to be correctly displayed as HTML into signed div.</p>
  
  <p>I resorted to jQuery because the first attempt to load the text directly from DB didn't work.</p>
  
  <p>I've tried:</p>
  
  <pre><code>$('#description').html( MY TEXT ).text();
  
  $('#description').text( MY TEXT ).html();
  
  $('#description').html( $.parseHTML(MY TEXT) );
  </code></pre>
  
  <p>Doesn't work. However if I get the description text and copy and make it render by myself (avoiding DB) it displays correctly.</p>
  
  <p>The picture shows what is going on:</p>
  
  <p><img src="https://i.stack.imgur.com/idqHA.png" alt="enter image description here"></p>
  
  <p>Any extra tip will be helpful.</p>