def _get_html_contents(html):
    parser = MyHTMLParser()
    parser.feed(html)
    if parser.is_code:
        return ('code', parser.data.strip())
    elif parser.is_math:
        return ('math', parser.data.strip())
    else:
        return '', ''


#------------------------------------------------------------------------------
# Atlas
#------------------------------------------------------------------------------
Re-send activation emails for the selected users.
dataset/ETHPy150Open rossant/ipymd/ipymd/formats/atlas.py/_get_html_contents--crossover with--dataset/ETHPy150Open ubernostrum/django-registration/registration/admin.py/RegistrationAdmin.resend_activation_email