[Bug 89716] KMail's HTML composer messes up signature
Michael Leupold
lemma at confuego.org
Fri Nov 7 12:06:50 GMT 2008
http://bugs.kde.org/show_bug.cgi?id=89716
Michael Leupold lemma confuego org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lemma at confuego.org
--- Comment #4 from Michael Leupold <lemma confuego org> 2008-11-07 13:06:48 ---
I just tried an in my opinion this is still a little messy in 1.10.1.
What I did:
- Change my signature to what the reporter suggested (no html)
- Compose a new mail, change to HTML compose mode
- Append the signature
- Send the mail
What the mail looked like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Tahoma'; font-size:10pt;
font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">This
is a <span style=" font-weight:600;">test</span>!</p>
<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;"></p>
<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;"></p>
<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;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Line
1</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Line
2</p>
<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;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Line
3</p></body></html>
The problem seems to be as follows:
- KMail still inserts a paragraph for every textline in the signature.
- KMail uses styles to remove the margins (= extra newlines)
=> problem: empty lines now vanish because they have no extent.
--
Configure bugmail: http://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