Set MERMAID_MAX_SOURCE_CHARACTERS to 50000 (#34152)

Fix #32015
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-04-09 07:52:01 +00:00
1 parent 1b2d8df13d
commit f8edc29f5d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ func loadMarkupFrom(rootCfg ConfigProvider) {
}
}
MermaidMaxSourceCharacters = rootCfg.Section("markup").Key("MERMAID_MAX_SOURCE_CHARACTERS").MustInt(5000)
MermaidMaxSourceCharacters = rootCfg.Section("markup").Key("MERMAID_MAX_SOURCE_CHARACTERS").MustInt(50000)
ExternalMarkupRenderers = make([]*MarkupRenderer, 0, 10)
ExternalSanitizerRules = make([]MarkupSanitizerRule, 0, 10)