diff options
Diffstat (limited to 'lib/pleroma/formatter.ex')
-rw-r--r-- | lib/pleroma/formatter.ex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index a708a275e..456416fbd 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -169,8 +169,11 @@ defmodule Pleroma.Formatter do subs ++ Enum.map(links, fn {uuid, url} -> {:safe, link} = Phoenix.HTML.Link.link(url, to: url) - link = link - |> IO.iodata_to_binary + + link = + link + |> IO.iodata_to_binary() + {uuid, link} end) |