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
def convert_to_text():
converter = html2text.HTML2Text()
# html from http://www.hubspot.com
with open("hubspot.txt", "r") as f:
text = f.read()
print("Running html2text...")
text = converter.handle(text)
# hangs here and uses all CPU.
print(text)
Python version 3.11
The text was updated successfully, but these errors were encountered:
HTML in the attached file below causes infinite loop of some kind, uses all CPU and process hangs indefinitely.
hubspot.txt
2024.2.26
3.11
The text was updated successfully, but these errors were encountered: