diff options
author | Joe Sak <joe@joesak.com> | 2011-07-13 16:40:17 -0500 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-07-13 16:40:17 -0500 |
commit | 9c93abc466ba8f747d4f89ef3603847a54eb34ae (patch) | |
tree | e6c46af3bc4f0d50aa605cf8bad7d3a6f81a33ee /app/views/blog | |
parent | 146eeb00aa15daebab90528173e92e89983cd458 (diff) | |
download | refinerycms-blog-9c93abc466ba8f747d4f89ef3603847a54eb34ae.tar.gz refinerycms-blog-9c93abc466ba8f747d4f89ef3603847a54eb34ae.tar.bz2 refinerycms-blog-9c93abc466ba8f747d4f89ef3603847a54eb34ae.zip |
weird sentence fix and that RAW thing with mailer
Diffstat (limited to 'app/views/blog')
-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') %> |