Bug 2540 - Treat <br> variants as newlines on HTML only messages
Summary: Treat <br> variants as newlines on HTML only messages
Status: RESOLVED WORKSFORME
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Message View (show other bugs)
Version: 3.7.10
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2011-11-08 14:13 UTC by Pierre Fortin
Modified: 2017-12-20 13:22 UTC (History)
1 user (show)

See Also:


Attachments
redacted example message (3.59 KB, text/plain)
2011-11-08 14:13 UTC, Pierre Fortin
no flags Details

Description Pierre Fortin 2011-11-08 14:13:51 UTC
Created attachment 1038 [details]
redacted example message

I get messages in HTML only, and the plain text that CM renders ignores all of {<br>,<br/>,<br />,0x0a,space[1]} which causes all the text to be rendered as one LONG line making the message difficult to read without resorting to invoking dillo...

Could CM at least convert the <br> variants to 0x0a [and not delete any 0x0a?] in the original message?

These messages contain sequences like this:
[24 spaces]text<br/><br/>0x0a
[24 spaces]text<br/>0x0a
<br />0x0a
<br>0x0a

Sample attached...

[1] the original message contains 24 spaces in front of each text line; but the dillo rendering ignores these as expected -- so ignoring these while rendering a text/html block as plain text is reasonable.
Comment 1 Ricardo Mones 2017-12-20 12:09:06 UTC
Hi Pierre, is bug this still happening?

I think this may have also fixed by patch for #3236 in 2014¹, but just wondering :-)

regards,

¹ http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6e2217d5bb5722a5426158f49bcaed95005a28f6
Comment 2 Pierre Fortin 2017-12-20 13:22:55 UTC
Haven't noticed this in a while; closing.

Note You need to log in before you can comment on or make changes to this bug.