diff options
author | eal <eal@waifu.club> | 2017-11-18 14:46:54 +0200 |
---|---|---|
committer | eal <eal@waifu.club> | 2017-11-18 14:46:54 +0200 |
commit | fb118b2978686a44a15534b638ab7887fb38c03d (patch) | |
tree | de4e10663cb462972073ddf05449ed44f3818c44 /test/web/common_api/common_api_utils_test.exs | |
parent | 66e78c3ec4e524a31a4c12f4dbe682ccbbc0025d (diff) | |
download | pleroma-fb118b2978686a44a15534b638ab7887fb38c03d.tar.gz |
Don't insert newlines to generated HTML.
MastoFE doesn't like them.
Diffstat (limited to 'test/web/common_api/common_api_utils_test.exs')
-rw-r--r-- | test/web/common_api/common_api_utils_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/common_api/common_api_utils_test.exs b/test/web/common_api/common_api_utils_test.exs index a159c0835..f6a7da9ed 100644 --- a/test/web/common_api/common_api_utils_test.exs +++ b/test/web/common_api/common_api_utils_test.exs @@ -11,6 +11,6 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do res = Utils.add_attachments("", [attachment]) - assert res == "<br>\n<a href=\"#{name}\" class='attachment'>Sakura Mana – Turned on by a Se…</a>" + assert res == "<br><a href=\"#{name}\" class='attachment'>Sakura Mana – Turned on by a Se…</a>" end end |