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

master
Eugen Rochko 8 years ago
parent 2b116131d7
commit f4ad2fb35a
  1. 2
      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) %>

Loading…
Cancel
Save