Resolve some test failures.

This commit is contained in:
scarlett 2019-01-05 18:20:42 +00:00
commit 6556be344d
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
"activity_type" => "post",
"possibly_sensitive" => possibly_sensitive,
"visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object),
"summary" => object["summary"]
"summary" => HTML.strip_tags(object["summary"]) |> Formatter.emojify(object["emoji"])
}
end