projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Remove newlines completely so mastodon doesn't bug out."
[akkoma]
/
test
/
web
/
twitter_api
/
twitter_api_utils_test.exs
diff --git
a/test/web/twitter_api/twitter_api_utils_test.exs
b/test/web/twitter_api/twitter_api_utils_test.exs
index 20de31c3963bbb892c0f5315d5df21f742acf42c..3ed61e173fee59d87c739a5739b18cc59abeccba 100644
(file)
--- 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])
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
end
end