Added get_stripped_html_for_object. Renamed a few things
This commit is contained in:
parent
bce152aba0
commit
d9f40b05b3
3 changed files with 32 additions and 9 deletions
|
|
@ -120,7 +120,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
content =
|
||||
object
|
||||
|> render_content()
|
||||
|> Utils.get_scrubbed_html(User.html_filter_policy(opts[:for]), activity)
|
||||
|> Utils.get_scrubbed_html_for_object(User.html_filter_policy(opts[:for]), activity)
|
||||
|
||||
%{
|
||||
id: to_string(activity.id),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue