diff options
Diffstat (limited to 'lib')
-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 b7078b9c6..82e3620f2 100644 --- a/lib/pleroma/web/twitter_api/utils.ex +++ b/lib/pleroma/web/twitter_api/utils.ex @@ -14,13 +14,13 @@ defmodule Pleroma.Web.TwitterAPI.Utils do "<a href='#{href}' class='attachment'>#{Path.basename(href)}</a>" _ -> "" end) - Enum.join([text | attachment_text], "<br>") + Enum.join([text | attachment_text], "<br>\n") end def format_input(text, mentions) do HtmlSanitizeEx.strip_tags(text) |> Formatter.linkify - |> String.replace("\n", "<br>") + |> String.replace("\n", "<br>\n") |> add_user_links(mentions) end |