def un_html_inator(text):
  return "\n".join(elm.text for elm in BeautifulSoup(text).body.find_all("p"))

comments

i'm fairly sure beautifulsoup has something like .text_content since i used it for a scraper