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

Remove redundant ensure_scrubbed_html

See merge request pleroma/pleroma!1114
This commit is contained in:
rinpatch 2019-05-01 11:02:08 +00:00
commit 622c804c9a
1 changed files with 0 additions and 8 deletions

View File

@ -71,14 +71,6 @@ def ensure_scrubbed_html(
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