From 355ab0c62c1d58200d68e30d112db398ea00297a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 26 May 2019 01:15:39 +0800 Subject: Fix wrong init dependency on markup extensions (#7038) * fix wrong init dependency on markup extensions --- contrib/pr/checkout.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go index 7af27c2a9e..880c029510 100644 --- a/contrib/pr/checkout.go +++ b/contrib/pr/checkout.go @@ -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) -- cgit v1.2.3