From 4eefbaa9dbd61958585e27582ea299d5bff88687 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 3 Dec 2011 17:58:21 +0000 Subject: [PATCH] Don't escape anything in text/plain message notifications --- app/views/notifier/message_notification.text.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/notifier/message_notification.text.erb b/app/views/notifier/message_notification.text.erb index 7a495e648..25b3c0498 100644 --- a/app/views/notifier/message_notification.text.erb +++ b/app/views/notifier/message_notification.text.erb @@ -1,10 +1,10 @@ -<%= t'notifier.message_notification.hi', :to_user => @to_user %> +<%= raw t'notifier.message_notification.hi', :to_user => @to_user %> -<%= t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %> +<%= raw t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %> == <%= raw @text %> == -<%= t'notifier.message_notification.footer1', :readurl => @readurl %> -<%= t'notifier.message_notification.footer2', :replyurl => @replyurl %> +<%= raw t'notifier.message_notification.footer1', :readurl => @readurl %> +<%= raw t'notifier.message_notification.footer2', :replyurl => @replyurl %> -- 2.43.2