logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f4ad2fb35aef53da9b55f15f8278a6af183de7b8
parent: 2b116131d78460e5cbb8eacc30aaaf04106ea0fa
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sat, 19 Mar 2016 19:34:31 +0100

Strip out HTML in plain text notification e-mails. Oh, and fix #14

Diffstat:

Mapp/views/notification_mailer/mention.text.erb2+-
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 @@ -2,6 +2,6 @@ You were mentioned by <%= @status.account.acct %> in: -<%= @status.content %> +<%= strip_tags(@status.content) %> <%= url_for_target(@status) %>