Yohei-Shiina 3 years ago
parent
commit
35ca72ba24
1 changed files with 1 additions and 1 deletions
  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:attrWhiteList': [],
   'markdown:rehypeSanitize:isEnabledPrevention': true,
-  'markdown:rehypeSanitize:option': RehypeSanitizeOption.Recommended,
+  'markdown:rehypeSanitize:option': RehypeSanitizeOption.RECOMMENDED,
   'markdown:rehypeSanitize:tagNames': [],
   'markdown:rehypeSanitize:attributes': {},
   'markdown:isEnabledLinebreaks': false,