title: convert string to html code in django template
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4848611/django-rendering-a-template-variable-as-html">django: rendering a template variable as html</a>  </p>
  </blockquote>
  
  
  
  <p>I am developing a django site and I have a string variable which has html tags in it. I need that string to be read as html code on my template. </p>
  
  <p>For instance if I have a string variable</p>
  
  <p>description = "<code>&lt;ul&gt;&lt;li&gt;abc&lt;/li&gt;&lt;li&gt;def&lt;/li&gt;&lt;li&gt;ghi&lt;/li&gt;&lt;/ul&gt;</code>"</p>
  
  <p>When I call this string variable in my template, I would like it to be displayed as </p>
  
  <ul>
  <li>abc</li>
  <li>def</li>
  <li>ghi</li>
  </ul>
  
  <p>Currently it shows the string as it is.</p>
  
  <p>I would really appreciate any help with this.</p>