mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-20 04:04:44 +00:00
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
This commit is contained in:
commit
96007753ad
1 changed files with 5 additions and 1 deletions
|
@ -125,7 +125,11 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
(activity.data["object"]["emoji"] || [])
|
||||
|> Enum.map(fn {name, url} ->
|
||||
name = HtmlSanitizeEx.strip_tags(name)
|
||||
url = HtmlSanitizeEx.strip_tags(url)
|
||||
|
||||
url =
|
||||
HtmlSanitizeEx.strip_tags(url)
|
||||
|> MediaProxy.url()
|
||||
|
||||
%{shortcode: name, url: url, static_url: url}
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue