escaping summary and other fields in xml templates
This commit is contained in:
parent
db07b538a5
commit
0c68b9ac13
4 changed files with 29 additions and 54 deletions
|
|
@ -83,7 +83,7 @@ defmodule Pleroma.Web.Feed.FeedView do
|
|||
|
||||
def activity_content(_), do: ""
|
||||
|
||||
def activity_context(activity), do: activity.data["context"]
|
||||
def activity_context(activity), do: escape(activity.data["context"])
|
||||
|
||||
def attachment_href(attachment) do
|
||||
attachment["url"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue