Browse Source

Fix #221: Blockquote doesn't work

Yuki Takei 8 năm trước cách đây
mục cha
commit
64b9387a2c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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