X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Femails%2Fadmin_email.ex;h=5fe74e2f7ce4ec5c4969e2a64144269ce26ceb72;hb=42185d87504ea595138e8e3f5bf9ce6840edd2f1;hp=fae7faf007cd9026a6c387ceab366d18205e4398;hpb=0d004a9d046f279be8462e8c751b5f1bcec3d35b;p=akkoma
diff --git a/lib/pleroma/emails/admin_email.ex b/lib/pleroma/emails/admin_email.ex
index fae7faf00..5fe74e2f7 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}@@ -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()