Yohei-Shiina %!s(int64=3) %!d(string=hai) anos
pai
achega
35ca72ba24
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,