Aleksander Machniak wrote:
> 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
>
>   
Ah, sorry for wrong subject. Format=flowed isn't a problem, problem is 
"to wrap or not to wrap". I think not to wrap in that case.

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to