1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 18:17:19 +00:00

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

This commit is contained in:
wxiaoguang
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)
}