diff options
author | francis <francis> | 2007-12-13 12:30:40 +0000 |
---|---|---|
committer | francis <francis> | 2007-12-13 12:30:40 +0000 |
commit | 342077d5ecff73f2eeb4c0b8a4894f9bc1236cae (patch) | |
tree | 39695f01553f949ee681b8ccdc1ca4971703c0a1 /script/wraptest | |
parent | c5b1db45f6591614a6a4c493dcf1961cf7966efd (diff) |
Convert \r\n into \n when formatting email.
Diffstat (limited to 'script/wraptest')
-rwxr-xr-x | script/wraptest | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/wraptest b/script/wraptest index d15d255b3..d62e4ce48 100755 --- a/script/wraptest +++ b/script/wraptest @@ -29,6 +29,8 @@ team@governmentspy quoting reference PB2. We\'ll make sure future ones go to the right place. ''' +test_email.gsub!(/\n/, "\r\n") + puts MySociety::Format.wrap_email_body(test_email) #puts MySociety::Format.wrap_email_body("Hello this is a string. |