Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering

This commit is contained in:
Ivan Tashkinov 2020-03-23 14:34:58 +03:00
commit 86f2fbc81e
2 changed files with 10 additions and 1 deletions

View file

@ -60,7 +60,9 @@ defmodule Pleroma.Web.StaticFE.StaticFEController do
content =
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
nil
end