projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a58813e
)
Remove redundant ensure_scrubbed_html
author
rinpatch
<rinpatch@sdf.org>
Wed, 1 May 2019 10:52:44 +0000
(13:52 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 1 May 2019 10:52:44 +0000
(13:52 +0300)
It is never used as handling for fake and non-fake activities was merged
into one function above it
lib/pleroma/html.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/html.ex
b/lib/pleroma/html.ex
index eb33d12d9e88d87f25ddeae0352a0c1851f72d38..726c370ad7a66ba34f7089b51ba82001c2bad265 100644
(file)
--- a/
lib/pleroma/html.ex
+++ b/
lib/pleroma/html.ex
@@
-71,14
+71,6
@@
defmodule Pleroma.HTML do
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
generate_scrubber_signature([scrubber])
end