for textarea in soup.findAll('textarea'):
    contents = BeautifulSoup.BeautifulSoup(textarea.contents[0]
        ).renderContents()
textarea.replaceWith(contents)
How do I make BeautifulSoup parse the contents of textarea tags as HTML?