How to prevent Django's label_tag function from escaping the label?
<p>Example:</p>

<pre><code>&gt;&gt;&gt; example.label
&amp;#x3bb;&lt;sub&gt;blabla&lt;/sub&gt;
&gt;&gt;&gt; example.label_tag()
[...]&amp;amp;#x3bb;&amp;lt;blabla&amp;gt;[...]
</code></pre>

<p>Even calling <code>mark_safe(example.label)</code> before <code>label_tag()</code> does not prevent Django from escaping the HTML. How can I get <code>label_tag()</code> to return unescaped labels?</p>

<p>Try this:</p>

<pre><code>            from HTMLParser import HTMLParser

            h = HTMLParser()
            unescaped = h.unescape(example.label_tag())
            print unescaped
</code></pre>

python django