[Bug 212844] New: Blank paragraphs in html mail do not display.
David John Mills
djmills at netspace.net.au
Tue Nov 3 00:41:27 GMT 2009
https://bugs.kde.org/show_bug.cgi?id=212844
Summary: Blank paragraphs in html mail do not display.
Product: kmail
Version: 1.10.3
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdepim-bugs at kde.org
ReportedBy: djmills at netspace.net.au
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 at 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>
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list