From: William Pitcock Date: Sun, 9 Sep 2018 23:40:24 +0000 (+0000) Subject: formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=52b05137c5800186fffee83950c83194a3468057;p=akkoma formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly --- 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 @@ defmodule Pleroma.Formatter 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