瀏覽代碼

Fix #221: Blockquote doesn't work

Yuki Takei 8 年之前
父節點
當前提交
64b9387a2c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/util/xss.js

+ 1 - 0
lib/util/xss.js

@@ -7,6 +7,7 @@ class Xss {
     let option = {
       stripIgnoreTag: true,
       css: false,
+      escapeHtml: (html) => html,
     };
     if (isAllowAllAttrs) {
       // allow all attributes