Small cleanup.

This commit is contained in:
lain 2018-04-22 10:01:10 +02:00
commit 0574df273c
3 changed files with 9 additions and 3 deletions

View file

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