From 4c6a60c2491df25d4dbd14e2ce92c9ee7117b6da Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Tue, 11 Oct 2016 16:46:20 +0200 Subject: [PATCH] Added html_safe to notification email template --- app/views/users/mailer/notification.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/mailer/notification.html.erb b/app/views/users/mailer/notification.html.erb index b517ee70e..f8ad84d77 100644 --- a/app/views/users/mailer/notification.html.erb +++ b/app/views/users/mailer/notification.html.erb @@ -4,6 +4,6 @@

Type: <%= I18n.t("notifications.types.#{@notification.type_of}") %>

-

<%= @notification.title %>

+

<%= @notification.title.html_safe %>

-

<%= @notification.message %>

+

<%= @notification.message.html_safe %>