Explorar o código

Fix #221: Blockquote doesn't work

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
64b9387a2c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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