aboutsummaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_utils_test.exs
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-07-31 13:27:19 +0200
committerRoger Braun <roger@rogerbraun.net>2017-07-31 13:27:19 +0200
commit3063e3b44088009269cae1bbe49fc5f5e3423939 (patch)
treee8713f9e641414cc3033a0f572b00172bdd0f66f /test/web/twitter_api/twitter_api_utils_test.exs
parent0ca3ab7b59edaec255aa3710fce8a9daa236b44d (diff)
downloadpleroma-3063e3b44088009269cae1bbe49fc5f5e3423939.tar.gz
Revert "Remove newlines completely so mastodon doesn't bug out."
This reverts commit 0ca3ab7b59edaec255aa3710fce8a9daa236b44d.
Diffstat (limited to 'test/web/twitter_api/twitter_api_utils_test.exs')
-rw-r--r--test/web/twitter_api/twitter_api_utils_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_utils_test.exs b/test/web/twitter_api/twitter_api_utils_test.exs
index 20de31c39..3ed61e173 100644
--- a/test/web/twitter_api/twitter_api_utils_test.exs
+++ b/test/web/twitter_api/twitter_api_utils_test.exs
@@ -9,6 +9,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilsTest do
res = Utils.add_attachments("", [attachment])
- assert res == "<br /><a href=\"http://heise.de/i%22m%20a%20boy.png\" class='attachment'>i\"m a boy.png</a>"
+ assert res == "<br />\n<a href=\"http://heise.de/i%22m%20a%20boy.png\" class='attachment'>i\"m a boy.png</a>"
end
end