diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/blog/comment_mailer/notification.html.erb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/views/blog/comment_mailer/notification.html.erb b/app/views/blog/comment_mailer/notification.html.erb index b75020d..800f12c 100644 --- a/app/views/blog/comment_mailer/notification.html.erb +++ b/app/views/blog/comment_mailer/notification.html.erb @@ -1,17 +1,17 @@ -<%= t('.greeting') %>, +<%=raw t('.greeting') %>, -<%= t('.you_recieved_new_comment') %> +<%=raw t('.you_recieved_new_comment') %> -<%= t('.comment_starts') %> +<%=raw t('.comment_starts') %> -<%= t('.from') %>: <%= @comment.name %> -<%= t('.email') %>: <%= @comment.email %> -<%= t('.message') %>: -<%= @comment.body %> +<%=raw t('.from') %>: <%= @comment.name %> +<%=raw t('.email') %>: <%= @comment.email %> +<%=raw t('.message') %>: +<%=simple_format strip_tags(@comment.body) %> -<%= t('.comment_ends') %> +<%=raw t('.comment_ends') %> -<%= t('.closing_line') %>, -<%= RefinerySetting[:site_name] %> +<%=raw t('.closing_line') %>, +<%=raw RefinerySetting[:site_name] %> -<%= t('.ps') %> +<%=raw t('.ps') %> |