aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-05-01 11:02:08 +0000
committerrinpatch <rinpatch@sdf.org>2019-05-01 11:02:08 +0000
commit622c804c9afc2da367aaaeeeb75ca5cbe0cfa855 (patch)
tree447c620cf71143fb6e0b9b668ea4595a360be6a6
parenta58813e7a14fda8eff2f2a659094444d20765e85 (diff)
parent51e26f14f7fc342c23fe1fe643a1cf444ef9392b (diff)
downloadpleroma-622c804c9afc2da367aaaeeeb75ca5cbe0cfa855.tar.gz
Merge branch 'fix/remove-redundant-ensure-scrubbed-html' into 'develop'
Remove redundant ensure_scrubbed_html See merge request pleroma/pleroma!1114
-rw-r--r--lib/pleroma/html.ex8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex
index eb33d12d9..726c370ad 100644
--- a/lib/pleroma/html.ex
+++ b/lib/pleroma/html.ex
@@ -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