aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-12-13 12:30:40 +0000
committerfrancis <francis>2007-12-13 12:30:40 +0000
commit342077d5ecff73f2eeb4c0b8a4894f9bc1236cae (patch)
tree39695f01553f949ee681b8ccdc1ca4971703c0a1
parentc5b1db45f6591614a6a4c493dcf1961cf7966efd (diff)
Convert \r\n into \n when formatting email.
-rwxr-xr-xscript/wraptest2
-rw-r--r--todo.txt3
2 files changed, 5 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.
diff --git a/todo.txt b/todo.txt
index 1c91ccd35..a3dadf13a 100644
--- a/todo.txt
+++ b/todo.txt
@@ -43,6 +43,9 @@ aren't shown on the website
Tidying
=======
+accept-charset="utf-8" on all forms - does it matter if Content-Type of whole
+page is already UTF-8?
+
Use working days
Bubbles don't validate