mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 06:58:58 +00:00
shame on me for not testing after revert
This commit is contained in:
parent
3f9da55adc
commit
c50353e6ae
|
@ -15,8 +15,11 @@ defmodule Pleroma.HTML do
|
|||
end
|
||||
|
||||
def filter_tags(html, nil) do
|
||||
get_scrubbers()
|
||||
|> Enum.reduce(html, fn scrubber, html ->
|
||||
filter_tags(html, get_scrubbers())
|
||||
end
|
||||
|
||||
def filter_tags(html, scrubbers) when is_list(scrubbers) do
|
||||
Enum.reduce(scrubbers, html, fn scrubber, html ->
|
||||
filter_tags(html, scrubber)
|
||||
end)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue