from django.utils.safestring import mark_safe
from django.template import Template, Context
Template('{{ name }}').render(Context({'name': mark_safe('<b>Brad</b>')}))
How to prevent auto escape in Django templates?