forked from AkkomaGang/akkoma
Fix compatibility with Elixir 1.8
This commit is contained in:
parent
4b7f1c6995
commit
c9970feee2
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ def digest_email(user) 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…
Reference in a new issue