1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-31 06:38:37 +00:00

Fix wrong init dependency on markup extensions (#7038) (#7074)

* fix wrong init dependency on markup extensions
This commit is contained in:
Lunny Xiao
2019-05-30 00:05:36 +08:00
committed by techknowlogick
parent d07edc5336
commit 31ad8b7026
4 changed files with 12 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ import (
"strconv"
"time"
"code.gitea.io/gitea/modules/markup"
"code.gitea.io/gitea/modules/markup/external"
"code.gitea.io/gitea/routers"
"code.gitea.io/gitea/routers/routes"
@@ -113,6 +114,7 @@ func runPR() {
log.Printf("[PR] Setting up router\n")
//routers.GlobalInit()
external.RegisterParsers()
markup.Init()
m := routes.NewMacaron()
routes.RegisterRoutes(m)