X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fformatter.ex;h=456416fbdff4eecc6127ee9ea36bbd486cc6ecd7;hb=9e0dd21ed637ec7b884570b2ad8705b5fac72580;hp=a708a275e881fd431de67470b7a091f9e6dcc4b5;hpb=0c221943ef588df195a0e36da4d95e164e3094f2;p=akkoma 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)