Don't return html in the text field.
This commit is contained in:
parent
b666f11d2f
commit
1b086834bd
2 changed files with 5 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
|
|||
"user" => UserRepresenter.to_map(user, opts),
|
||||
"attentions" => [],
|
||||
"statusnet_html" => content,
|
||||
"text" => content,
|
||||
"text" => HtmlSanitizeEx.strip_tags(content),
|
||||
"is_local" => true,
|
||||
"is_post_verb" => true,
|
||||
"created_at" => published,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue