parent
7130e9ddb1
commit
5e4bb4ad92
|
@ -125,7 +125,11 @@ def render("status.json", %{activity: %{data: %{"object" => object}} = activity}
|
||||||
(activity.data["object"]["emoji"] || [])
|
(activity.data["object"]["emoji"] || [])
|
||||||
|> Enum.map(fn {name, url} ->
|
|> Enum.map(fn {name, url} ->
|
||||||
name = HtmlSanitizeEx.strip_tags(name)
|
name = HtmlSanitizeEx.strip_tags(name)
|
||||||
url = HtmlSanitizeEx.strip_tags(url)
|
|
||||||
|
url =
|
||||||
|
HtmlSanitizeEx.strip_tags(url)
|
||||||
|
|> MediaProxy.url()
|
||||||
|
|
||||||
%{shortcode: name, url: url, static_url: url}
|
%{shortcode: name, url: url, static_url: url}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue