diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 19:34:31 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 19:34:31 +0100 |
commit | f4ad2fb35aef53da9b55f15f8278a6af183de7b8 (patch) | |
tree | e6a910c7b59593a37292a7f7b6400f90ef44cadc /app/views/notification_mailer | |
parent | 2b116131d78460e5cbb8eacc30aaaf04106ea0fa (diff) |
Strip out HTML in plain text notification e-mails. Oh, and fix #14
Diffstat (limited to 'app/views/notification_mailer')
-rw-r--r-- | app/views/notification_mailer/mention.text.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notification_mailer/mention.text.erb b/app/views/notification_mailer/mention.text.erb index c12841e94..b093f4ec0 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) %> |