def _replace_quot(match):
    unescape = lambda v: v.replace('&quot;', '"').replace('&amp;', '&')
    return u'<%s%s>' % (unescape(match.group(1)), unescape(match.group(3)))
dataset/ETHPy150Open willhardy/django-seo/rollyourown/seo/utils.py/_replace_quot/original