Line feeds not displayed in plain text emails.
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
People
(Reporter: steve, Unassigned)
Details
(Whiteboard: [snnot3p][addon])
Attachments
(1 file)
21.73 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
Created an email in one account setting Options>sending format>only plain.
Sent email to another account.
Example email body.
some text
and more
and more
Actual results:
When received email was opened the text was displayed with missing line feeds after lines of text but displayed as a space.
some text
and more and more
Expected results:
The line feeds should be displayed/honoured as entered.
Reporter | ||
Comment 1•2 years ago
|
||
Viewing the source with Crl-u shows, for both the sent and received emails;
some text
and more
and more
Reporter | ||
Comment 2•2 years ago
|
||
Also just noticed, when I view the email in the sent folder it shows as
some text
and more and more
Reporter | ||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Did you compose it using the html editor, or the plain text editor?
(Should be unrelated to Supernova)
Reporter | ||
Comment 4•2 years ago
|
||
I clicked new message then went to Options>sending format>only plain text and composed the email. I am not sure which editor this is.
Reporter | ||
Comment 5•2 years ago
|
||
Referring back to comment 1, 2 views of the message are shown.
The top view is as typed and as shown with ctl-u.
The bottom view is as seen in the inbox and in the sent mail folder.
I saved the message (right click, save as) and then opened the message from the file menu. It shows as in the top view, comment 1.
The file contains 0D0A line termination on all lines.
I have message synchronising deselected in account settings, the accounts are IMAP to gmail
If I highlight and copy the text from the sent mail as it shows in the lower view, and paste it into a hex editor it shows
73 6F 6D 65 20 74 65 78 74 0A 0A 61 6E 64 20 6D 6F 72 65 20 61 6E 64 20 6D 6F 72 65 so 0A0A between "some text" and "and more and more"
Comment 6•2 years ago
|
||
If you see formatting controls (bold, italic etc) you're using the html editor.
Reporter | ||
Comment 7•2 years ago
|
||
In that case I am using the HTML editor but sending as plain text.
If I go into the received mail via my gmail account the text in hex copies as
73 6F 6D 65 20 74 65 78 74 0A 0A 61 6E 64 20 6D 6F 72 65 0A 61 6E 64 20 6D 6F 72 65
How do I compose with the plain text editor?
Comment 8•2 years ago
•
|
||
Hold shift when clicking Write.
Reporter | ||
Comment 9•2 years ago
|
||
I get the same result, enter text as per top sample comment 1, received message displayed as per bottom sample.
I will construct some messages and send with mailx to see if it is an issue with rendering.
Reporter | ||
Comment 10•2 years ago
|
||
There is definitely an issue in the rendering of the emails sent in plain text when viewed in TB. When clicking on the email it flashes the correct format and then reverts to an incorrect format.
Magnus, can I send to you 2 emails direct to compare in TB to see if you can verify.
Comment 11•2 years ago
•
|
||
Sure, go ahead. Please reference this bug number in the subject.
Reporter | ||
Comment 12•2 years ago
|
||
Sent 3 emails. Subjects as below.
Bug 1823587 test = A single blank line between first and second lines of text.
00000000 73 6f 6d 65 20 74 65 78 74 20 31 78 0a 0a 61 6e |some text 1x..an|
00000010 64 20 6d 6f 72 65 0a 61 6e 64 20 6d 6f 72 65 0a |d more.and more.|
00000020 0a |.|
Bug 1823587 test0 = as above but no trailing 0a
Bug 1823587 test2 = as per test but with 2 blank lines between the first and second lines of text.
00000000 73 6f 6d 65 20 74 65 78 74 20 32 78 0a 0a 0a 61 |some text 2x...a|
00000010 6e 64 20 6d 6f 72 65 0a 61 6e 64 20 6d 6f 72 65 |nd more.and more|
00000020 0a |.|
When I view in TB the spacing is briefly shown correctly then reverts to the same space between first and second lines of text
Comment 13•2 years ago
|
||
It looks all correct to me. Did you try with Help | Troubleshoot mode?
Reporter | ||
Comment 14•2 years ago
|
||
Image showing 3 emails when not in troubleshoot mode.
Reporter | ||
Comment 15•2 years ago
|
||
In troubleshoot mode it works fine, notice above the spacing is consistent between the top line of text and the next line of text.
This is with view as plain text and original HTML. The spacing here is about 3 lines, it should be 1 or 2 (the 2x)
Reporter | ||
Comment 16•2 years ago
|
||
Just thought to try another machine, this issue does not show on the other machine, same OS, same profile.
Could it be graphics card/system related.
Comment 17•2 years ago
|
||
In troubleshoot mode it works fine
It is due to some add-on or userChrome.css fix then.
Reporter | ||
Comment 18•2 years ago
|
||
Well I feel like an idiot now. I don't use plugins normally and I forgot I installed one during the smoke testing and had forgotten to remove it.
Working normally with the addon removed.
Reporter | ||
Updated•2 years ago
|
Comment 19•2 years ago
|
||
Steve, which add-on caused the problem?
Reporter | ||
Comment 20•2 years ago
|
||
One that could probably be an obvious one to cause this issue, I went looking for a compatible add-on to test the beta and found Render Markdown Messages. Rob's one wanted more permissions than I liked to grant.
Updated•2 years ago
|
Description
•