summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
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)