How to remove all HTML tags from a string
Using BeautifulSoup, in one line, you can:
' '.join(h.BeautifulSoup.BeautifulSoup(some_content).findAll(text=True))
Using BeautifulSoup, in one line, you can:
' '.join(h.BeautifulSoup.BeautifulSoup(some_content).findAll(text=True))