Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering
This commit is contained in:
commit
86f2fbc81e
@ -60,7 +60,9 @@ defp represent(%Activity{object: %Object{data: data}} = activity, selected) do
|
|||||||
|
|
||||||
content =
|
content =
|
||||||
if data["content"] do
|
if data["content"] do
|
||||||
Pleroma.HTML.filter_tags(data["content"])
|
data["content"]
|
||||||
|
|> Pleroma.HTML.filter_tags()
|
||||||
|
|> Pleroma.Emoji.Formatter.emojify(Map.get(data, "emoji", %{}))
|
||||||
else
|
else
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user