This website works better with JavaScript.
首頁
探索
lain.church
說明
註冊
登入
squeegily
/
pleroma
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
42
Wiki
Activity
瀏覽代碼
formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly
tags/v0.9.9
William Pitcock
5 年之前
父節點
16307da311
當前提交
52b05137c5
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
H
tmlSanitizeEx.basic_html
(text)
H
TML.filter_tags
(text)
end
def html_escape(text, "text/plain") do
Write
Preview
Loading…
取消
儲存