forked from AkkomaGang/akkoma
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 @@ 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 a new issue