def METHOD_NAME(string):
    """Parse a string as HTML"""
    soup = BeautifulSoup(string, HTML_PARSER)
    prettified = soup.prettify()
    absolutified = lxml.html.make_links_absolute(prettified, base_url=BASE_URL)
    return BeautifulSoup(absolutified, HTML_PARSER)