def html_to_text(html):
 htmlstripper = MLStripper()
 htmlstripper.feed(html)
 return htmlstripper.get_data()

def html_to_text ( html ) : htmlstripper = MLStripper ( ) htmlstripper . feed ( html ) return htmlstripper . get_data ( )
strips the html tags off of the text to return plaintext .