Yohei-Shiina 3 年之前
父節點
當前提交
35ca72ba24
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,