fix(feed): escape fallback content
This commit is contained in:
parent
f4b415c54e
commit
a9bf7212d4
2 changed files with 24 additions and 3 deletions
|
|
@ -109,9 +109,8 @@ defmodule Pleroma.Web.Feed.FeedView do
|
|||
base_content =
|
||||
case activity_content(data) do
|
||||
"" ->
|
||||
data["summary"] || data["type"] ||
|
||||
""
|
||||
|> escape()
|
||||
(data["summary"] || data["type"] || "")
|
||||
|> escape()
|
||||
|
||||
content ->
|
||||
content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue