Bug 310403 - more careful handling of HTML-signatures
Summary: more careful handling of HTML-signatures
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: config dialog (show other bugs)
Version: 4.10.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 10:41 UTC by Silver Salonen
Modified: 2013-03-15 08:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Salonen 2012-11-20 10:41:03 UTC
I have configured my signature to be HTML. My reply template is:
----------
%CURSOR

--
%SIGNATURE
----------

Every time my signature is used in HTML-reply, there is an empty line added between '--' and my signature. If the reply is plain text, signature starts right after '--'.

Reproducible: Always

Steps to Reproduce:
1. Add HTML-signature for an identity
2. Configure custom reply template, adding %SIGNATURE in there
3. Reply to HTML-email, using HTML as well
Actual Results:  
There's an empty line before the signature

Expected Results:  
There should be no empty line

Sometimes my signature is not used in HTML, although the reply itself seems to be HTML (option "Formatting (HTML)" is enabled). In this case there's no empty line either.
Comment 1 Silver Salonen 2012-11-20 10:52:20 UTC
I re-edited my HTML-signature in 'emailidentities' file by hand - deleted all unnecessary HTML-code and it seemed to fix it. The empty line is gone after I took the signature out of separate paragraph (<p></p>). The HTML-code had gone there by copy-pasting the same signature from one place to another.

Anyhow, maybe KMail should handle HTML-signature more carefully, eg. delete some unnecessary tags upon saving it? HTML-code editor directly in the identity configurator would also help a bit..