-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added stripping of whitespace at the beginning of emails when importi…
…ng from a reader.
- Loading branch information
1 parent
f57f486
commit a62870b
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,8 @@ func TestEmailFromReader(t *testing.T) { | |
Text: []byte("This is a test email with HTML Formatting. It also has very long lines so\nthat the content must be wrapped if using quoted-printable decoding.\n"), | ||
HTML: []byte("<div dir=\"ltr\">This is a test email with <b>HTML Formatting.</b>\u00a0It also has very long lines so that the content must be wrapped if using quoted-printable decoding.</div>\n"), | ||
} | ||
raw := []byte(`MIME-Version: 1.0 | ||
raw := []byte(` | ||
MIME-Version: 1.0 | ||
Subject: Test Subject | ||
From: Jordan Wright <[email protected]> | ||
To: Jordan Wright <[email protected]> | ||
|