summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-26 01:15:39 +0800
committerzeripath <art27@cantab.net>2019-05-25 18:15:39 +0100
commit355ab0c62c1d58200d68e30d112db398ea00297a (patch)
tree15acaf368cbf16ffd2fc2102c13ca9536f5a0145 /contrib
parent0c432d26fe20d3e50da566cf75fa483376ed8bef (diff)
downloadgitea-355ab0c62c1d58200d68e30d112db398ea00297a.tar.gz
gitea-355ab0c62c1d58200d68e30d112db398ea00297a.zip
Fix wrong init dependency on markup extensions (#7038)
* fix wrong init dependency on markup extensions
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pr/checkout.go2
1 files changed, 2 insertions, 0 deletions
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)