Remove Pleroma.Formatter.minify/2

This commit is contained in:
Alex Gleason 2021-04-30 12:27:06 -05:00
commit 6727a3659f
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
4 changed files with 0 additions and 20 deletions

View file

@ -307,11 +307,4 @@ defmodule Pleroma.FormatterTest do
assert Formatter.html_escape(text, "text/plain") == expected
end
test "it minifies html" do
text = "<p>\nhello</p>\n<p>\nworld</p>\n"
expected = "<p>hello</p><p>world</p>"
assert Formatter.minify(text, "text/html") == expected
end
end