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