#1121896 html2text becomes way too slow with some html code

Package:
html2text
Source:
html2text
Description:
advanced HTML to text converter
Submitter:
Georges Khaznadar
Date:
2026-08-24 01:07:02 UTC
Severity:
normal
#1121896#5
Date:
2025-12-04 11:00:09 UTC
From:
To:
I got recently some html-only e-mails, coming from commercial senders
which could not be viewed with mutt. I had to kill html2text in order to
unfreeze mutt.

Replacing /usr/bin/html2text by a symlink to /usr/bin/html2markdown gave
an instant workaround, the same e-mails were displaied instantly in
text format. /usr/bin/html2markdown is provided by the package
python3-html2text.

I tried to simplify the HTML files in order to pinpoint the failure,
without success. If you want I can send some samples which could not be
converted to text with html2text. Their common feature is the abuse of
tables to insert elements into the page, and a very bad syntax

#1121896#10
Date:
2026-08-24 01:03:29 UTC
From:
To:
Hello Georges.

If you can forward samples of HTML documents that are not being processed
correctly by html2text, I can send them upstream for analysis.

Best regards,
Bruno Naibert