Commit 52b05137 authored by kaniini's avatar kaniini
Browse files

formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly

parent 16307da3
......@@ -193,7 +193,7 @@ def get_custom_emoji() do
# TODO: make it use something other than @link_regex
def html_escape(text, "text/html") do
HtmlSanitizeEx.basic_html(text)
HTML.filter_tags(text)
end
def html_escape(text, "text/plain") do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment