aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/comment_code.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/comment_code.go')
-rw-r--r--models/issues/comment_code.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/comment_code.go b/models/issues/comment_code.go
index 49927fbbe2..25e606f092 100644
--- a/models/issues/comment_code.go
+++ b/models/issues/comment_code.go
@@ -111,7 +111,7 @@ func findCodeComments(ctx context.Context, opts FindCommentsOptions, issue *Issu
if comment.RenderedContent, err = markdown.RenderString(&markup.RenderContext{
Ctx: ctx,
URLPrefix: issue.Repo.Link(),
- Metas: issue.Repo.ComposeMetas(),
+ Metas: issue.Repo.ComposeMetas(ctx),
}, comment.Content); err != nil {
return nil, err
}