From 52b05137c5800186fffee83950c83194a3468057 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 9 Sep 2018 23:40:24 +0000 Subject: [PATCH] formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly --- lib/pleroma/formatter.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index c0a176184..5b63fb795 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -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