You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A helper function for simple HTML tag removal #659
Activity
Pijukatel commentedon Dec 8, 2024
I think that BS should already handle it using:
soup.get_text("\n", strip=True)https://www.crummy.com/software/BeautifulSoup/bs4/doc/#get-text . So maybe I should just wrap that in our utility function.
feat: Add `html_to_text` helper function (#792)