Sfoglia il codice sorgente

Fix #221: Blockquote doesn't work

Yuki Takei 8 anni fa
parent
commit
64b9387a2c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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