summaryrefslogtreecommitdiffstats
path: root/modules/markup/renderer.go
diff options
context:
space:
mode:
authorJosef Fröhle <github@josef-froehle.de>2021-07-15 22:33:56 +0200
committerGitHub <noreply@github.com>2021-07-15 22:33:56 +0200
commit8d962daed6a51cefa18891a8b7c82847b0de5571 (patch)
tree13834a7042cbc62629ba2c0a344fe2d63c49731f /modules/markup/renderer.go
parentd7ee5dc7752c26b09edb8517c0e93a7b94b0fdb3 (diff)
downloadgitea-8d962daed6a51cefa18891a8b7c82847b0de5571.tar.gz
gitea-8d962daed6a51cefa18891a8b7c82847b0de5571.zip
cleanup code `issueFullPattern` in modules/markup (#16419)
fix #16415
Diffstat (limited to 'modules/markup/renderer.go')
-rw-r--r--modules/markup/renderer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/markup/renderer.go b/modules/markup/renderer.go
index 04619caee3..3cd7cea700 100644
--- a/modules/markup/renderer.go
+++ b/modules/markup/renderer.go
@@ -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)