projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f569b67
)
run mix format
author
William Pitcock
<nenolod@dereferenced.org>
Sun, 27 May 2018 13:06:38 +0000
(13:06 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Sun, 27 May 2018 13:06:38 +0000
(13:06 +0000)
lib/pleroma/formatter.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/formatter.ex
b/lib/pleroma/formatter.ex
index d23a284caf1966414a322e9a0eb3ad66a55d35e0..df7ffbc4165bdc45bcce98401b04cf72e1aafb9e 100644
(file)
--- a/
lib/pleroma/formatter.ex
+++ b/
lib/pleroma/formatter.ex
@@
-200,7
+200,9
@@
defmodule Pleroma.Formatter do
ap_id = info["source_data"]["url"] || ap_id
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)
{subs, uuid_text}