run mix format
This commit is contained in:
parent
f569b67cda
commit
d7eb2e1b65
|
@ -200,7 +200,9 @@ def add_user_links({subs, text}, mentions) do
|
||||||
ap_id = info["source_data"]["url"] || ap_id
|
ap_id = info["source_data"]["url"] || ap_id
|
||||||
|
|
||||||
short_match = String.split(match, "@") |> tl() |> hd()
|
short_match = String.split(match, "@") |> tl() |> hd()
|
||||||
{uuid, "<span><a class='mention' href='#{ap_id}'>@<span>#{short_match}</span></a></span>"}
|
|
||||||
|
{uuid,
|
||||||
|
"<span><a class='mention' href='#{ap_id}'>@<span>#{short_match}</span></a></span>"}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
{subs, uuid_text}
|
{subs, uuid_text}
|
||||||
|
|
Loading…
Reference in a new issue