1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

cleanup code issueFullPattern in modules/markup (#16419)

fix #16415
This commit is contained in:
Josef Fröhle
2021-07-15 22:33:56 +02:00
committed by GitHub
parent d7ee5dc775
commit 8d962daed6
2 changed files with 9 additions and 7 deletions

View File

@ -19,7 +19,6 @@ import (
// Init initialize regexps for markdown parsing
func Init() {
getIssueFullPattern()
NewSanitizer()
if len(setting.Markdown.CustomURLSchemes) > 0 {
CustomLinkURLSchemes(setting.Markdown.CustomURLSchemes)