fix: feed item title was escaped twice
This commit is contained in:
parent
f3253c0c6a
commit
8d500977a6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue