formatting
This commit is contained in:
parent
358f88e10a
commit
e82ce2a4b3
2 changed files with 2 additions and 7 deletions
|
|
@ -39,8 +39,7 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
|
|||
|
||||
data = %{
|
||||
"created_at" => user.inserted_at |> Utils.format_naive_asctime(),
|
||||
"description" =>
|
||||
HTML.strip_tags((user.bio || "") |> String.replace("<br>", "\n")),
|
||||
"description" => HTML.strip_tags((user.bio || "") |> String.replace("<br>", "\n")),
|
||||
"description_html" => HTML.filter_tags(user.bio),
|
||||
"favourites_count" => 0,
|
||||
"followers_count" => user_info[:follower_count],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue