diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-05-26 01:15:39 +0800 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-05-25 18:15:39 +0100 |
commit | 355ab0c62c1d58200d68e30d112db398ea00297a (patch) | |
tree | 15acaf368cbf16ffd2fc2102c13ca9536f5a0145 /routers | |
parent | 0c432d26fe20d3e50da566cf75fa483376ed8bef (diff) | |
download | gitea-355ab0c62c1d58200d68e30d112db398ea00297a.tar.gz gitea-355ab0c62c1d58200d68e30d112db398ea00297a.zip |
Fix wrong init dependency on markup extensions (#7038)
* fix wrong init dependency on markup extensions
Diffstat (limited to 'routers')
-rw-r--r-- | routers/init.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/init.go b/routers/init.go index 88422cc6ed..cfeb928819 100644 --- a/routers/init.go +++ b/routers/init.go @@ -19,6 +19,7 @@ import ( "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/mailer" "code.gitea.io/gitea/modules/markup" + "code.gitea.io/gitea/modules/markup/external" "code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/ssh" @@ -75,6 +76,7 @@ func GlobalInit() { if setting.InstallLock { highlight.NewContext() + external.RegisterParsers() markup.Init() if err := initDBEngine(); err == nil { log.Info("ORM engine initialization successful!") |