Set MERMAID_MAX_SOURCE_CHARACTERS to 50000 (#34152)
Fix #32015 (cherry picked from commit f8edc29f5dd1a99e3be1a2ff764d1d7315862345)
This commit is contained in:
parent
8665bbc085
commit
89e4144855
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ type MarkupSanitizerRule struct {
|
|||
func loadMarkupFrom(rootCfg ConfigProvider) {
|
||||
mustMapSetting(rootCfg, "markdown", &Markdown)
|
||||
|
||||
MermaidMaxSourceCharacters = rootCfg.Section("markup").Key("MERMAID_MAX_SOURCE_CHARACTERS").MustInt(5000)
|
||||
MermaidMaxSourceCharacters = rootCfg.Section("markup").Key("MERMAID_MAX_SOURCE_CHARACTERS").MustInt(50000)
|
||||
FilePreviewMaxLines = rootCfg.Section("markup").Key("FILEPREVIEW_MAX_LINES").MustInt(50)
|
||||
ExternalMarkupRenderers = make([]*MarkupRenderer, 0, 10)
|
||||
ExternalSanitizerRules = make([]MarkupSanitizerRule, 0, 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue