#295849 html2text: Do not strip trailing spaces in <pre> contents

Package:
html2text
Source:
html2text
Description:
advanced HTML to text converter
Submitter:
Vincent Lefevre
Date:
2025-08-26 04:09:01 UTC
Severity:
wishlist
#295849#5
Date:
2005-02-18 15:02:28 UTC
From:
To:
For text in <pre>, html2text deletes spaces that are at the end of
the lines. There should be a (possibly optional) way to keep them.

This would be useful to extract patches from mail archives in HTML
(some archives do not contain any other format), as such spaces are
important.