Closed Bug 200641 Opened 22 years ago Closed 20 years ago

Signature doesn't break line when it has a space before "\n"

Categories

(MailNews Core :: Composition, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 125928

People

(Reporter: luizd, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 Signature don´t break line when it has a space before "\n". If my signature is Mr. ME \n ICQ: 999\n me@mydomain.com\n It will send Mr. ME ICQ: 999\n me@mydomain.com\n Reproducible: Always Steps to Reproduce: 1.Create a signature with a space before return carrier 2.assign it as your signature 3.send a mail as plain text Actual Results: Who receive the mail gets the signature bad formatted Mr. ME ICQ: 999\n me@mydomain.com\n Expected Results: Mr. ME \n ICQ: 999\n me@mydomain.com\n
Summary: Signature don´t break line when it has a space before "\n" → Signature doesn't break line when it has a space before "\n"
I have seen the same problem on Mozilla 1.a Alpha running on RedHat Linux AS 2.1. Looks like this is a confirmed issue. I removed the space before the newline character and the sig showed up OK. Mozilla Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401
I can confirm that this issue still exists on Mozilla 1.3.1 running on Windows 2000. It's reproduceable (always).
This is a slightly special case of the dupe; the problem here is that the sig is stored within a <pre> block; when converted to plain text, the <pre>'s end-of- line spaces are *all* preserved; and then the plain text is sent off as f=f mail without actually being formatted correctly (in this case, the spaces not stripped). *** This bug has been marked as a duplicate of 125928 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.