Bug 289820 - Reply using HTML deforms templates
Summary: Reply using HTML deforms templates
Status: RESOLVED DUPLICATE of bug 288834
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 02:59 UTC by Bernd Oliver Sünderhauf
Modified: 2011-12-26 06:38 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 Bernd Oliver Sünderhauf 2011-12-26 02:59:13 UTC
Version:           4.8 (using Devel) 
OS:                Linux

With the new "Reply using HTML" feature turned on, default (or custom) templates are severely deformed both for replies and inline-forwards.

E.g. with the following reply template:
  On %ODATE %OTIMELONG %OFROMNAME wrote:
  %QUOTE
  %CURSOR
only the filled placeholders %ODATE %OTIMELONG %OFROMNAME are displayed, while "On", the spaces and "wrote:" is missing.
Also, the Cursor is not set to the requested position.

Another example: With the following a inline-forward template:
  ----------  Forwarded Message  ----------
  
  Subject: %OFULLSUBJECT
  Date: %ODATE, %OTIMELONG
  From: %OFROMADDR
  %OADDRESSEESADDR
  
  %TEXT
  -----------------------------------------
all header field names are stripped off (except for "To:", "Cc:" etc. which is provided via the placeholder.

Reproducible: Always

Steps to Reproduce:
1. Turn on "Reply using HTML if present".
2. Select a HTML message
3. Hit "Reply" or "Forward inline"

Actual Results:  
just the substituted placeholders

Expected Results:  
the full template with the placeholders being substituted
Comment 1 Torgny Nyblom 2011-12-26 06:37:52 UTC
Fixed in commit: bc19958546af49921bc85aae59936353ec572e69
Comment 2 Torgny Nyblom 2011-12-26 06:38:10 UTC

*** This bug has been marked as a duplicate of bug 288834 ***