Don't insert newlines to generated HTML.
MastoFE doesn't like them.
This commit is contained in:
parent
66e78c3ec4
commit
fb118b2978
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue