X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Femails%2Fadmin_email.ex;h=88bc78aec52edce6a13d6fceb70443c36b712d7c;hb=db2bf55e9bb31af2ed34805ca7fa98ce67b471b1;hp=fae7faf007cd9026a6c387ceab366d18205e4398;hpb=6747bf2e1642d7715a9f08469247bc99ff7165cb;p=akkoma
diff --git a/lib/pleroma/emails/admin_email.ex b/lib/pleroma/emails/admin_email.ex
index fae7faf00..88bc78aec 100644
--- a/lib/pleroma/emails/admin_email.ex
+++ b/lib/pleroma/emails/admin_email.ex
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors
Reported by: #{reporter.nickname}
-Reported Account: #{account.nickname}
+Reported by: #{reporter.nickname}
+Reported Account: #{account.nickname}
#{comment_html} #{statuses_html}- View Reports in AdminFE + View Reports in AdminFE """ new() @@ -85,9 +85,9 @@ defmodule Pleroma.Emails.AdminEmail do def new_unapproved_registration(to, account) do html_body = """ -
New account for review: @#{account.nickname}
-#{account.registration_reason}- Visit AdminFE +
New account for review: @#{account.nickname}
+#{HTML.strip_tags(account.registration_reason)}+ Visit AdminFE """ new()