Don't insert newlines to generated HTML.

MastoFE doesn't like them.
This commit is contained in:
eal 2017-11-18 14:46:54 +02:00
commit fb118b2978
3 changed files with 4 additions and 4 deletions

View file

@ -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