Say we compose a message like this:

----------------------------
This is composed text #1.

> This is quoted text #1.

This is composed text #2.

> This is quoted text #2.


> This is quoted text #3.
> 
>> This is quoted text #4.
> 
> This is quoted text #5.
> 
>> This is quoted text #6.


This is composed text #3.


>> This is quoted text #7.
>> 
>>> This is quoted text #8.
>> 
>> This is quoted text #9.
>> 
>>> This is quoted text #10.
----------------------------

Then we save it as draft and exit the message.

Later on, we edit the draft. The message body is now loaded like this:

----------------------------
This is composed text #1.

> This is quoted text #1.

This is composed text #2.

> This is quoted text #2.


> This is quoted text #3.
> 
>> This is quoted text #4.
> This is quoted text #5.
> 
>> This is quoted text #6.


This is composed text #3.


>> This is quoted text #7.
>> 
>>> This is quoted text #8.
>> This is quoted text #9.
>> 
>>> This is quoted text #10.
----------------------------

Result: The (blank) quoted lines between...

>> This is quoted text #4.
> This is quoted text #5.

...and...

>>> This is quoted text #8.
>> This is quoted text #9.

...have been deleted due to some odd reason.

Environment and relevant config settings:
-----------------------------------------
IE8, Win7/64, "$rcmail_config['line_length'] = 76;",
"$rcmail_config['send_format_flowed'] = false;" 

Things to be noted:
-------------------
1) All quote chars ">" have a trailing white space on all quoted lines
(i.e. also on all blank quoted lines) during composing. Even if I delete
those trailing blanks on all blank quoted lines during composing, they
apparently get re-inserted upon saving the draft (I verified that by saving
the draft message to disk and looking at it with a hex editor), so the
result is the same when I edit the message again later on.

2) Draft messages are saved as "format=flowed" since Nov 19th 2012, no
matter what. This is intentional and should not be re-changed again. Thomas
committed this change upon my request here:
https://github.com/roundcube/roundcubemail/commit/ac382e114570537e038eca79d2c8b90a4b95af12
See also: http://trac.roundcube.net/ticket/1488799
I'm not sure if the behaviour described above is connected to this commit,
at least in 0.8.4 the behaviour is the same when I load the message which
has been saved as draft with 0.9-git.

But I assume that this all does have to do with the format=flowed thingy in
some way. I may be wrong, of course.

Ticket required...?
-- 
Michael Heydekamp
Co-Admin freexp.de
Düsseldorf/Germany
_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to