Browse Source

Fix compatibility with Elixir 1.8

tags/v1.1.4
Egor Kislitsyn 4 years ago
parent
commit
c9970feee2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/emails/user_email.ex

+ 1
- 1
lib/pleroma/emails/user_email.ex View File

@@ -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


Loading…
Cancel
Save