This function may be used to remove HTML tags from data.

def strip_tags(cls, html):
        """
        This function may be used to remove HTML tags from data.
        """
        s = cls()
        s.feed(html)

        return s.get_data()