Don't return html in the text field.

This commit is contained in:
Roger Braun 2017-04-12 17:22:29 +02:00
commit 1b086834bd
2 changed files with 5 additions and 4 deletions

View file

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