mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
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:
commit
622c804c9a
1 changed files with 0 additions and 8 deletions
|
@ -71,14 +71,6 @@ defmodule Pleroma.HTML do
|
||||||
end
|
end
|
||||||
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
|
defp generate_scrubber_signature(scrubber) when is_atom(scrubber) do
|
||||||
generate_scrubber_signature([scrubber])
|
generate_scrubber_signature([scrubber])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue