From 9a51d7d1f8001571419cb3dd52e2881712f3e98d Mon Sep 17 00:00:00 2001 From: joshua stein Date: Tue, 14 Aug 2012 13:34:32 -0500 Subject: [PATCH] raw the memo, we don't need xss protection here --- app/views/invitation_mailer/invitation.text.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/invitation_mailer/invitation.text.erb b/app/views/invitation_mailer/invitation.text.erb index 25e840f..16f764d 100644 --- a/app/views/invitation_mailer/invitation.text.erb +++ b/app/views/invitation_mailer/invitation.text.erb @@ -1,6 +1,6 @@ Hello <%= @invitation.email %>, -The user <%= @invitation.user.username %> has invited you to the website Lobsters<%= @invitation.memo.present? ? ":\n\n #{@invitation.memo}" : "." %> +The user <%= @invitation.user.username %> has invited you to the website Lobsters<%= @invitation.memo.present? ? raw(":\n\n #{@invitation.memo}") : "." %> To create an account, visit the URL below: