raw the memo, we don't need xss protection here
This commit is contained in:
parent
f34ad51891
commit
9a51d7d1f8
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue