fix the status notification with special char

This commit is contained in:
Sachin Joshi 2019-04-24 07:06:17 +05:45
commit 963d5774af
2 changed files with 11 additions and 1 deletions

View file

@ -289,7 +289,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
"uri" => object.data["id"],
"user" => UserView.render("show.json", %{user: user, for: opts[:for]}),
"statusnet_html" => html,
"text" => text,
"text" => HtmlEntities.decode(text),
"is_local" => activity.local,
"is_post_verb" => true,
"created_at" => created_at,