mastodon API: do not sanitize html in non-html fields
[akkoma] / lib / pleroma / web / mastodon_api / views / conversation_view.ex
index c5998e6611d2c0917016353549479e002a0b1108..2220fbcb18e327673926e41ecfd0b4309f674223 100644 (file)
@@ -12,7 +12,10 @@ defmodule Pleroma.Web.MastodonAPI.ConversationView do
   alias Pleroma.Web.MastodonAPI.StatusView
 
   def render("participations.json", %{participations: participations, for: user}) do
-    render_many(participations, __MODULE__, "participation.json", as: :participation, for: user)
+    safe_render_many(participations, __MODULE__, "participation.json", %{
+      as: :participation,
+      for: user
+    })
   end
 
   def render("participation.json", %{participation: participation, for: user}) do