from bs4 import BeautifulSoup


def strip_text_from_html(html_content: str) -> str:
    """ Strips pure text from strings containing html. """
    _soup = BeautifulSoup(html_content, features="html.parser")
    _text = ''
    for _paragraph in _soup.find_all('p'):
        _text = _text + " " + _paragraph.get_text(separator=' ')

    return _text