aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-09-09 23:40:24 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-10-05 20:49:34 +0000
commit52b05137c5800186fffee83950c83194a3468057 (patch)
treee4dbbe35b15e11dd6f5315cdb23d6a2c3b847517
parent16307da3115a840163be149c3847fc600b260bc6 (diff)
downloadpleroma-52b05137c5800186fffee83950c83194a3468057.tar.gz
formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly
-rw-r--r--lib/pleroma/formatter.ex2
1 files changed, 1 insertions, 1 deletions
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