raw the memo, we don't need xss protection here

This commit is contained in:
joshua stein 2012-08-14 13:34:32 -05:00
parent f34ad51891
commit 9a51d7d1f8

View file

@ -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: