Yohei-Shiina 3 anni fa
parent
commit
35ca72ba24
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/app/src/server/models/config.ts

+ 1 - 1
packages/app/src/server/models/config.ts

@@ -156,7 +156,7 @@ export const defaultMarkdownConfigs: { [key: string]: any } = {
   'markdown:xss:tagWhiteList': [],
   'markdown:xss:tagWhiteList': [],
   'markdown:xss:attrWhiteList': [],
   'markdown:xss:attrWhiteList': [],
   'markdown:rehypeSanitize:isEnabledPrevention': true,
   'markdown:rehypeSanitize:isEnabledPrevention': true,
-  'markdown:rehypeSanitize:option': RehypeSanitizeOption.Recommended,
+  'markdown:rehypeSanitize:option': RehypeSanitizeOption.RECOMMENDED,
   'markdown:rehypeSanitize:tagNames': [],
   'markdown:rehypeSanitize:tagNames': [],
   'markdown:rehypeSanitize:attributes': {},
   'markdown:rehypeSanitize:attributes': {},
   'markdown:isEnabledLinebreaks': false,
   'markdown:isEnabledLinebreaks': false,