Преглед изворни кода

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