1
0
Fork 0
forked from forgejo/forgejo

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)