formatting
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 23 Aug 2018 01:34:36 +0000 (01:34 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 23 Aug 2018 01:34:36 +0000 (01:34 +0000)
lib/pleroma/web/twitter_api/views/user_view.ex

index 712557f770fa2c200d14a55fb68a4cd0bee65071..32f93153dc6b61699d5d0174b165a71b92d5205f 100644 (file)
@@ -38,7 +38,8 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
 
     data = %{
       "created_at" => user.inserted_at |> Utils.format_naive_asctime(),
-      "description" => HtmlSanitizeEx.strip_tags((user.bio || "") |> String.replace("<br>", "\n")),
+      "description" =>
+        HtmlSanitizeEx.strip_tags((user.bio || "") |> String.replace("<br>", "\n")),
       "description_html" => HtmlSanitizeEx.basic_html(user.bio),
       "favourites_count" => 0,
       "followers_count" => user_info[:follower_count],