formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly

这个提交包含在:
William Pitcock 2018-09-09 23:40:24 +00:00
父节点 16307da311
当前提交 52b05137c5

查看文件

@ -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