We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f049d commit 99197e2Copy full SHA for 99197e2
modules/setting/markup.go
@@ -38,6 +38,8 @@ type MarkupSanitizerRule struct {
38
}
39
40
func newMarkup() {
41
+ ExternalMarkupRenderers = make([]MarkupRenderer, 0, 10)
42
+ ExternalSanitizerRules = make([]MarkupSanitizerRule, 0, 10)
43
for _, sec := range Cfg.Section("markup").ChildSections() {
44
name := strings.TrimPrefix(sec.Name(), "markup.")
45
if name == "" {
0 commit comments