title: Display superscript in Django Admin
body: <p>I am trying to display some HTML in the Django admin that is pulled from a model field.</p>
  
  <p>There is a model like this:</p>
  
  <pre><code>class MyModel(models.Model):
     symbol = models.CharField(unique=True, max_length=100)
     symbol_html = models.TextField('Symbol HTML')
     ...
  </code></pre>
  
  <p>An admin like this:</p>
  
  <pre><code>@admin.register(MyModel)
  class MyModelAdmin(admin.ModelAdmin):
     list_display = ['symbol', 'display_symbol_html']           # overview display fields
  
     # displays non-escaped html
     def display_symbol_html(self, obj):
        return mark_safe(obj.symbol_html)
  
     display_symbol_html.allow_tags = True
  </code></pre>
  
  <p>This works for symbols like <code>&amp;Omega;</code> but not with HTML tags like this <code>x&lt;sup&gt;2&lt;/sup&gt;</code>. The display does not show the superscript, just reverts the text to <code>x2</code>. </p>
  
  <p>How does one display the superscript properly in the list view of Django Admin?</p>
  
  <hr>
  
  <p><strong>ANSWER</strong></p>
  
  <p>Based on the response below, I used the markup from w3schools and Django properly displays it in the Admin interface.</p>
  
  <p>See <a href="http://www.w3schools.com/charsets/ref_utf_latin1_supplement.asp" rel="nofollow">HTML Unicode UTF-8</a> for the list of characters.</p>