From 9c93abc466ba8f747d4f89ef3603847a54eb34ae Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Wed, 13 Jul 2011 16:40:17 -0500 Subject: weird sentence fix and that RAW thing with mailer --- .../blog/comment_mailer/notification.html.erb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/views') 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') %> -- cgit v1.2.3