mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	Use repo as of renderctx's member rather than a repoPath on metas (#29222)
Use a `gitrepo.Repository` in the markup's RenderContext but not store the repository's path.
This commit is contained in:
		@@ -113,7 +113,8 @@ func findCodeComments(ctx context.Context, opts FindCommentsOptions, issue *Issu
 | 
			
		||||
 | 
			
		||||
		var err error
 | 
			
		||||
		if comment.RenderedContent, err = markdown.RenderString(&markup.RenderContext{
 | 
			
		||||
			Ctx: ctx,
 | 
			
		||||
			Ctx:  ctx,
 | 
			
		||||
			Repo: issue.Repo,
 | 
			
		||||
			Links: markup.Links{
 | 
			
		||||
				Base: issue.Repo.Link(),
 | 
			
		||||
			},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user