@@ -1138,6 +1138,7 @@ func ViewIssue(ctx *context.Context) {
11381138 URLPrefix : ctx .Repo .RepoLink ,
11391139 Metas : ctx .Repo .Repository .ComposeMetas (),
11401140 GitRepo : ctx .Repo .GitRepo ,
1141+ Ctx : ctx ,
11411142 }, issue .Content )
11421143 if err != nil {
11431144 ctx .ServerError ("RenderString" , err )
@@ -1303,6 +1304,7 @@ func ViewIssue(ctx *context.Context) {
13031304 URLPrefix : ctx .Repo .RepoLink ,
13041305 Metas : ctx .Repo .Repository .ComposeMetas (),
13051306 GitRepo : ctx .Repo .GitRepo ,
1307+ Ctx : ctx ,
13061308 }, comment .Content )
13071309 if err != nil {
13081310 ctx .ServerError ("RenderString" , err )
@@ -1379,6 +1381,7 @@ func ViewIssue(ctx *context.Context) {
13791381 URLPrefix : ctx .Repo .RepoLink ,
13801382 Metas : ctx .Repo .Repository .ComposeMetas (),
13811383 GitRepo : ctx .Repo .GitRepo ,
1384+ Ctx : ctx ,
13821385 }, comment .Content )
13831386 if err != nil {
13841387 ctx .ServerError ("RenderString" , err )
@@ -1740,6 +1743,7 @@ func UpdateIssueContent(ctx *context.Context) {
17401743 URLPrefix : ctx .Query ("context" ),
17411744 Metas : ctx .Repo .Repository .ComposeMetas (),
17421745 GitRepo : ctx .Repo .GitRepo ,
1746+ Ctx : ctx ,
17431747 }, issue .Content )
17441748 if err != nil {
17451749 ctx .ServerError ("RenderString" , err )
@@ -2170,6 +2174,7 @@ func UpdateCommentContent(ctx *context.Context) {
21702174 URLPrefix : ctx .Query ("context" ),
21712175 Metas : ctx .Repo .Repository .ComposeMetas (),
21722176 GitRepo : ctx .Repo .GitRepo ,
2177+ Ctx : ctx ,
21732178 }, comment .Content )
21742179 if err != nil {
21752180 ctx .ServerError ("RenderString" , err )
0 commit comments