diff options
Diffstat (limited to 'lib/pleroma/web/twitter_api/utils.ex')
-rw-r--r-- | lib/pleroma/web/twitter_api/utils.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/twitter_api/utils.ex b/lib/pleroma/web/twitter_api/utils.ex index f02c8ad6d..67ba5ec5c 100644 --- a/lib/pleroma/web/twitter_api/utils.ex +++ b/lib/pleroma/web/twitter_api/utils.ex @@ -15,13 +15,13 @@ defmodule Pleroma.Web.TwitterAPI.Utils do "<a href=\"#{URI.encode(href)}\" class='attachment'>#{Path.basename(href)}</a>" _ -> "" end) - Enum.join([text | attachment_text], "<br />\n") + Enum.join([text | attachment_text], "<br />") end def format_input(text, mentions) do HtmlSanitizeEx.strip_tags(text) |> Formatter.linkify - |> String.replace("\n", "<br />\n") + |> String.replace("\n", "<br />") |> add_user_links(mentions) end |