'Return a sanitized version of the given html.'

def scrub(self, html):

    self.warnings = []
    html = self._scrub_html_pre(html)
    soup = BeautifulSoup(html)
    self._scrub_soup(soup)
    html = unicode(soup)
    return self._scrub_html_post(html)
