Explorar o código

fixed tag and attr confusion

sou %!s(int64=7) %!d(string=hai) anos
pai
achega
bf63c86ad7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/models/config.js

+ 2 - 2
lib/models/config.js

@@ -524,8 +524,8 @@ module.exports = function(crowi) {
       isEnabledLinebreaksInComments: Config.isEnabledLinebreaksInComments(config),
       isXSSPrevented: Config.isXSSPrevented(config),
       XSSOption: Config.XSSOption(config),
-      tagWhiteList: Config.attrWhiteList(config),
-      attrWhiteList: Config.tagWhiteList(config),
+      tagWhiteList: Config.tagWhiteList(config),
+      attrWhiteList: Config.attrWhiteList(config),
       highlightJsStyleBorder: Config.highlightJsStyleBorder(config),
       isSavedStatesOfTabChanges: Config.isSavedStatesOfTabChanges(config),
       env: {