in ees_microsoft_outlook/utils.py [0:0]
def html_to_text(content):
"""Convert html content to text format
:param content: HTML content
Returns:
text: Converted Text
"""
if content:
soup = BeautifulSoup(content, "html.parser")
text = soup.get_text().strip()
return text