Run mix format
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 22 Aug 2018 10:09:01 +0000 (12:09 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 22 Aug 2018 10:09:01 +0000 (12:09 +0200)
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],