from bs4 import BeautifulSoup


def parse_html(content):
    """ This step is included in Step 2: this will use beautiful soup to
    modify certain tags of the returned content
    Parameters
    ----------
    content : returned from the notebook export
    Returns
    ------
    soup (parsed html content)
    """
    soup = BeautifulSoup(content, 'html.parser')
    if soup.table:
        for tag in soup.find_all('table'):
            tag['class'] = 'table-responsive table-striped'
            tag['border'] = '0'
    return soup