mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix wrong init dependency on markup extensions (#7038)
* fix wrong init dependency on markup extensions
This commit is contained in:
		@@ -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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user