fix(feed): escape fallback content

This commit is contained in:
Lain Soykaf 2026-07-24 19:59:18 +04:00
commit a9bf7212d4
No known key found for this signature in database
2 changed files with 24 additions and 3 deletions

View file

@ -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