[issue2551106] Additional line breaks with setting leave_body_unchanged = no

Mathias Behrle <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from Mathias Behrle:

Since migrating to roundup2 incoming mail messages generally were rendered with additional line breaks, i.e. each line break was doubled. This was with default setting leave_body_unchanged = no.

Using setting leave_body_unchanged = yes doesn't show this behaviour.

I think it is due to line 1919 in mailgw.py, with

        content = '\n\n'.join(l)

I don't know if there was a specific reason to add two line breaks or if it was by accident, please have a look at the patch attached.

----------
components: Mail interface
files: mailgw.patch
keywords: patch
messages: 7039
nosy: mbehrle
severity: normal
status: new
title: Additional line breaks with setting leave_body_unchanged = no
type: behavior
versions: devel

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551106>
_________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.