From f4ad2fb35aef53da9b55f15f8278a6af183de7b8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 Mar 2016 19:34:31 +0100 Subject: [PATCH] Strip out HTML in plain text notification e-mails. Oh, and fix #14 --- app/views/notification_mailer/mention.text.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notification_mailer/mention.text.erb b/app/views/notification_mailer/mention.text.erb index c12841e94f..b093f4ec02 100644 --- a/app/views/notification_mailer/mention.text.erb +++ b/app/views/notification_mailer/mention.text.erb @@ -2,6 +2,6 @@ You were mentioned by <%= @status.account.acct %> in: -<%= @status.content %> +<%= strip_tags(@status.content) %> <%= url_for_target(@status) %>