def smartypants_filter(text):
    text = force_unicode(text)
    output = smartypants.smartyPants(text)
    return mark_safe(output)
Applies smarty pants to curl quotes.
dataset/ETHPy150Open callowayproject/django-typogrify/typogrify/templatetags/typogrify.py/smartypants_filter