瀏覽代碼

formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly

tags/v0.9.9
William Pitcock 5 年之前
父節點
當前提交
52b05137c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/pleroma/formatter.ex

+ 1
- 1
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


Loading…
取消
儲存