Split sanitizer functions and fine-tune some tests (#31192)

This commit is contained in:
2024-05-31 21:26:01 +08:00
committed by GitHub
parent 352a2cae24
commit a4275951ba
8 changed files with 270 additions and 245 deletions

View File

@ -47,7 +47,6 @@ func Init(ph *ProcessorHelper) {
DefaultProcessorHelper = *ph
}
NewSanitizer()
if len(setting.Markdown.CustomURLSchemes) > 0 {
CustomLinkURLSchemes(setting.Markdown.CustomURLSchemes)
}