Skip to content
Snippets Groups Projects
Commit c50353e6 authored by Rin Toshaka's avatar Rin Toshaka
Browse files

shame on me for not testing after revert

parent 3f9da55a
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,11 @@ def get_scrubbers() 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment