Commit 622c804c authored by rinpatch's avatar rinpatch

Merge branch 'fix/remove-redundant-ensure-scrubbed-html' into 'develop'

Remove redundant ensure_scrubbed_html

See merge request !1114
parents a58813e7 51e26f14
Pipeline #11313 passed with stages
in 4 minutes and 31 seconds
......@@ -71,14 +71,6 @@ defmodule Pleroma.HTML do
end
end
def ensure_scrubbed_html(
content,
scrubbers,
true = _fake
) do
{:ignore, filter_tags(content, scrubbers)}
end
defp generate_scrubber_signature(scrubber) when is_atom(scrubber) do
generate_scrubber_signature([scrubber])
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment