Version: 1.10.3 (using 4.1.3 (KDE 4.1.3) "release 4.10.4", openSUSE 11.1) Compiler: gcc OS: Linux (x86_64) release 2.6.27.37-0.1-default When I compose an html mail item, all the blank lines between paragraphs disappear. The recipient reports that the email is formatted correctly, but when I view the sent mail using kmail all the paragraphs are bunched up making the whole email look like a single large paragraph. If I edit the mail file using emacs and remove all instances of "margin-top:0px; margin-bottom:0px;" and then view with kmail again, the message is now correctly formatted. I don't know whether the issue is that kmail should not have added these margin settings or whether they are OK but kmail views them incorrectly. I suspect the former. Below in an excerpt from "View source" of such an email. > KDE PIM users mailing list > kdepim-users@kde.org > https://mail.kde.org/mailman/listinfo/kdepim-users >=20 --Boundary-00=_9bg7KP+NtH91ko7 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-= html40/strict.dtd"> <html><head><meta name=3D"qrichtext" content=3D"1" /><style type=3D"text/cs= s"> p, li { white-space: pre-wrap; } </style></head><body style=3D" font-family:'Nimbus Sans L'; font-size:10pt;= font-weight:400; font-style:normal;"> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig= ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Jan,</p> <p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma= rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-u= ser-state:0;"></p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig= ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">that's funn= y, because I looked in my sent-mail folder and the message sent to kdepim-u= sers is in html format there (as a 2 part message: one text and one html). = Are you sure that you weren't looking text part?</p> <p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma= rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-u= ser-state:0;"></p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig= ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Best regard= s,</p> <p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma= rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-u= ser-state:0;"></p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig= ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">David.</p>
I have upgraded to openSUSE 11.2 and the problem persists. That uses KDE 4.3.1.
I have upgraded to KDE 4.4.3. The problem persists. Is there any way to fix. It makes using HTML with KMail pretty useless as paragraphs cannot be distinguished.
Hello, I can confirm this issue... This is happening at least since last year. When you write an HTML message, the CSS style "margin-top:0px; margin-bottom:0px;" causes that other email clients don't show the blank lines. In the other hand, Kmail does it. Actually: KDE 4.4.2 Kmail 1.13.2
I have upgraded to KDE 4.5. It seems less of an issue there. The underlying HTML is the same (with 0px borders etc.) but it now seems to ignore these directives and it is displayed correctly.