]> git.openstreetmap.org Git - rails.git/commitdiff
Don't escape HTML in text/plain message notification emails
authorTom Hughes <tom@compton.nu>
Thu, 1 Dec 2011 19:03:30 +0000 (19:03 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 1 Dec 2011 19:03:30 +0000 (19:03 +0000)
app/views/notifier/message_notification.text.erb

index c91c68be683e67e402e82457e161eaf292945458..7a495e648a48a9a81c7d4d2aa4da4eaf18f0ec9d 100644 (file)
@@ -3,7 +3,7 @@
 <%= t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
 
 ==
-<%= @text %>
+<%= raw @text %>
 ==
 
 <%= t'notifier.message_notification.footer1', :readurl => @readurl %>