sou před 7 roky
rodič
revize
b18a27e6f1
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      lib/util/xss.js

+ 2 - 0
lib/util/xss.js

@@ -9,6 +9,8 @@ class Xss {
       css: false,
       css: false,
       escapeHtml: (html) => html,   // resolve https://github.com/weseek/growi/issues/221
       escapeHtml: (html) => html,   // resolve https://github.com/weseek/growi/issues/221
     };
     };
+
+    //what is this??????????????????? maybe disable this
     if (isAllowAllAttrs) {
     if (isAllowAllAttrs) {
       // allow all attributes
       // allow all attributes
       option.onTagAttr = function(tag, name, value, isWhiteAttr) {
       option.onTagAttr = function(tag, name, value, isWhiteAttr) {