fix: feed item title was escaped twice

This commit is contained in:
faried nawaz 2022-11-15 23:29:40 +05:00
parent f3253c0c6a
commit 8d500977a6
No known key found for this signature in database
GPG Key ID: C8EBC3669D3539B4
1 changed files with 0 additions and 1 deletions

View File

@ -93,7 +93,6 @@ def activity_title(%{"content" => content, "summary" => summary} = data, opts \\
|> Pleroma.Web.Metadata.Utils.scrub_html() |> Pleroma.Web.Metadata.Utils.scrub_html()
|> Pleroma.Emoji.Formatter.demojify() |> Pleroma.Emoji.Formatter.demojify()
|> Formatter.truncate(opts[:max_length], opts[:omission]) |> Formatter.truncate(opts[:max_length], opts[:omission])
|> escape()
end end
def activity_description(data) do def activity_description(data) do