Version: 1.10.1 (using 4.1.2 (KDE 4.1.2), Kubuntu packages) Compiler: cc OS: Linux (x86_64) release 2.6.27-7-generic KMail HTML composer strips blank lines in the text. So suppose i type "Hi, How are you?" It is saved as "Hi How are you?" This really messes up readability of the mail.
In kmail 1.10.90 (svn r876071), the blank lines created by kmail are read fine by kmail. In fact, the html code that is issued for the first blank like is ([ instead of <): [br] and for the next blank lines is: [p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"][br][/p] In any case, thunderbird also recognizes the blank lines.
This is a serious problem for me. It makes my outgiong HTML mail look extremely unprofessional, and makes KMail look very bad (because everyone in my organization knows I'm the only one NOT using Outlook, and my emails ARE the only ones ironically that lately look like they are written by a computer illiterate). The "margin-top:0px; margin-bottom:0px;" embedded in the paragraph tags effectively eliminates the paragraph spacing. Period. I actually don't write HTML mails myself, but when replying to other poeple's HTML email KMail does this to me. So, for example, when I reply to anyone in my company who has emailed me. To see the problem simply reply to one of the HTML emails you've received (surely you have a spam or something handy). Write a few words with blank lines between them. Then look for the message in your sent folder. Below the message where KMail shows you the message parts, right click on the "HTML Document" part and save it. Now view that saved HTML in Konqueror, Firefox, Opera, or even Safari or IE if you want to. Every HTML renderer that knows about CSS styles visually removes the paragraphs breaks. In short, what you will not see is the text looking like it looked when you composed it with blank lines between paragraphs. (Interestingly the message looks almost okay in Lynx, which doesn't use styles... except the quoted text has a blank line between every line.) (And in the source I see all these -qt-* styles as well; I see that KMail is using the odd tactic of placing empty <p></p> tag parse using extra -qt-* styles between paragraphs; but also removing the margins from them. Is KMail like microsoft now that they feel the need to add a bunch of platform-specific tags to accomplish its purposes? Look where it gets us...)
Confirmed. kmail should generate good html for every html viewer, not only kmail and thunderbird.
Please fix this annoying problem. I agree with Tim Middleton - this makes Kmail look amateur and its users as unprofessional. Otherwise Kmail is a great email client - such a great pity it is hampered by html weaknesses.
The problem of blank lines being removed is already fixed in r856724. Cleaner HTML output is in the process and will hopefully make it into 4.2. *** This bug has been marked as a duplicate of bug 86925 ***
*** Bug 174783 has been marked as a duplicate of this bug. ***