aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/emails/user_email.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/emails/user_email.ex b/lib/pleroma/emails/user_email.ex
index bf6b811b1..3b5e64019 100644
--- a/lib/pleroma/emails/user_email.ex
+++ b/lib/pleroma/emails/user_email.ex
@@ -154,7 +154,7 @@ defmodule Pleroma.Emails.UserEmail do
defp format_links(str) do
re = ~r/<a.+href=['"].*>/iU
- String.replace(str, re, fn link ->
+ Regex.replace(re, str, fn link ->
String.replace(link, "<a", "<a style=\"color: #d8a070;text-decoration: none;\"")
end)
end