Remove Pleroma.Formatter.minify/2
This commit is contained in:
parent
004bcedb07
commit
6727a3659f
4 changed files with 0 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue