In rcmail_print_body() we have:
if ($part->ctype_parameters['format'] != 'flowed')
$body = wordwrap(trim($body), 80);
I'm not shure that we should wrap lines for displaying messages, maybe
do this only when sending (composing) them?
I have a mail without format definition in header and Thunderbird didn't
wrap the lines. Roundcube do wrapping and output is broken.
I think, when displaying a message we should have something like that
if( format == flowed)
rewrap lines according to rfc2646 or do nothing
elseif (wrap_new_mail_on_display_option == true)
wrap lines
else
do nothing
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.alec.pl
_______________________________________________
List info: http://lists.roundcube.net/dev/