Open Bug 1125976 Opened 6 years ago Updated 6 years ago

Missing blank line when selectively quoting/replying

Categories

(Thunderbird :: Message Compose Window, defect)

31 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: computersforpeace, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150112203352

Steps to reproduce:

Sample email to reply to, containing bottom-reply formatting in plain text:

---BEGIN MESSAGE---
On xx-yy-zz, Bob Alice wrote:
> How about doing more foo with bar?

Sounds good.

Also, what do you think about baz-ing the barg?
---END MESSAGE---

1. Highlight the first 4 lines of the email (up to "Sounds good.")
2. Click "Reply", to selectively quote the highlighted text

I'm defaulting to plain text and reply-on-top in my settings, FYI.


Actual results:

The quoted text is placed in the reply email, but the third line (a blank line) is missing. The resulting reply is initially formatted something like this:

---BEGIN MESSAGE---


On AA-BB-CC, Jim Jones wrote:
> On xx-yy-zz, Bob Alice wrote:
> > How about doing more foo with bar?
> Sounds good.
---END MESSAGE---

Note how there is no blank/quoted line between 'How about...?' and 'Sounds good.'


Expected results:

The reply email should look like this:

---BEGIN MESSAGE---


On AA-BB-CC, Jim Jones wrote:
> On xx-yy-zz, Bob Alice wrote:
> > How about doing more foo with bar?
> 
> Sounds good.
---END MESSAGE---

Notice how there is a blank line in the quote before 'Sounds good.'

Also note that this only happens when doing selective quoting. If I remove step 1 in the STR (i.e., I don't highlight any text), I get the proper quote formatting and blank lines. For now, I work around the selective quoting bug by avoiding selective quoting, and just trimming the reply in the Compose window.

Also note that a similar behavior occurs when replying to plain text in HTML mode, but it does not occur when replying to HTML text in plain or HTML modes.
Component: Untriaged → Message Compose Window
You need to log in before you can comment on or make changes to this bug.