Skip to content
Snippets Groups Projects
Commit 622c804c authored by rinpatch's avatar rinpatch
Browse files

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

Remove redundant ensure_scrubbed_html

See merge request pleroma/pleroma!1114
parents a58813e7 51e26f14
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment