This commit is contained in:
Rin Toshaka 2019-01-05 00:25:31 +01:00
parent 846082e54f
commit 1e2d58982e

View File

@ -34,7 +34,12 @@ defmodule Pleroma.HTML do
end end
def get_cached_stripped_html_for_object(content, object, module) do def get_cached_stripped_html_for_object(content, object, module) do
get_cached_scrubbed_html_for_object(content, HtmlSanitizeEx.Scrubber.StripTags, object, module) get_cached_scrubbed_html_for_object(
content,
HtmlSanitizeEx.Scrubber.StripTags,
object,
module
)
end end
def ensure_scrubbed_html( def ensure_scrubbed_html(