Fix emails
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 21 Sep 2020 17:47:36 +0000 (21:47 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 7 Oct 2020 14:35:27 +0000 (18:35 +0400)
lib/pleroma/emails/user_email.ex

index 5745794ec261b88178e1c16c94293c4bcb1c3c27..806a61fd226f85b2e168bfcdf873322911df2c53 100644 (file)
@@ -198,14 +198,14 @@ defmodule Pleroma.Emails.UserEmail do
       if is_nil(admin_user_id) do
         """
         <p>You requested a full backup of your Pleroma account. It's ready for download:</p>
-        <p><a href="#{download_url}"></a></p>
+        <p><a href="#{download_url}">#{download_url}</a></p>
         """
       else
         admin = Pleroma.Repo.get(User, admin_user_id)
 
         """
         <p>Admin @#{admin.nickname} requested a full backup of your Pleroma account. It's ready for download:</p>
-        <p><a href="#{download_url}"></a></p>
+        <p><a href="#{download_url}">#{download_url}</a></p>
         """
       end