[MlMt] Newline rendering in plaintext messages
Galen Menzel
galen.menzel at utexas.edu
Thu Apr 4 14:11:02 EDT 2019
Ok I think I’ve figured this out.
It looks like when the `MmAutomaticUnwrapEnabled` hidden preference is
set to true, MailMate unwraps plaintext emails when they are displayed
in the message viewer. After setting `MmAutomaticUnwrapEnabled` to false
the message renders properly.
This strikes me as a bug, since the documentation of
`MmAutomaticUnwrapEnabled` states that it is used “to unwrap the plain
text body part before creating the reply.” I.e., it seems to me that
this option should affect the quoted contents in the composer, but not
how a message is displayed in the message viewer.
Best,
Galen
On 3 Apr 2019, at 10:08, Galen Menzel wrote:
> Hi all,
>
> I use MailMate r5625 on two computers. On one machine, plaintext
> messages render as expected, with the body of the message being a
> literal rendering of the message. For example, here is a plaintext
> email that I received, with linebreaks are displayed faithfully, as
> expected:
>
> https://drive.google.com/file/d/1ksQ2N3fHa24r9MJvFbilucCyrDnC666p/view?usp=sharing
>
> However, the same message on the other machine does some funny line
> wrapping with this message:
>
> https://drive.google.com/file/d/1IOCwDflTA4D7wr_cuX7QHdPe5jhy3Iqm/view?usp=sharing
>
> As far as I can tell, the preferences on these two machines are the
> same, and they are using the same stylesheet files (which specify
> pre-wrap for plain text).
>
> Looking at the HTML source on both machines, I see that on the first
> (correctly displayed) message, each line of the plaintext email is in
> its own `<div>` element, whereas in the second, each *paragraph* has
> its own `<div>` element (except for the bulleted lists), so the issue
> seems to be upstream of the html styling.
>
> Where does MailMate determine how to parcel up plaintext messages into
> its respective `<div>` elements? I’d very much prefer to view
> plaintext messages exactly as they were sent.
>
> Thanks!
>
> Best,
>
> Galen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20190404/39b8b9fb/attachment.html>
More information about the mailmate
mailing list