title 787859 Configure html2text using keyword arguments
thanks

Hi,

Thanks for your bug report.

It seems that there are two bugs here:

  - rss2email does not configure the correct BODY_WIDTH in html2text.
  - in html2text, there is no way to configure a different wrapping
    policy for text and links.

The second is #616090. The first one is due to the fact that html2text
now needs to be configured using keyword arguments instead of globals.

Reading the code, it seems that the old way using globals is intended
to be supported, but default arguments are evaluated at import time,
so it's impossible to configure html2text by overriding
html2text.config.

As for your problem, once the rss2email bug (or the html2text config
one) is fixed, you should be able to have long lines by setting
body-width=0 in rss2email's configuration.

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to