diff --git a/routers/repo/milestone.go b/routers/repo/milestone.go index 032a848ba..9d8f34268 100644 --- a/routers/repo/milestone.go +++ b/routers/repo/milestone.go @@ -257,6 +257,8 @@ func MilestoneIssuesAndPulls(ctx *context.Context) { return } + milestone.RenderedContent = string(markdown.Render([]byte(milestone.Content), ctx.Repo.RepoLink, ctx.Repo.Repository.ComposeMetas())) + ctx.Data["Title"] = milestone.Name ctx.Data["Milestone"] = milestone diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 682469a14..0f4509ecb 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -5,9 +5,11 @@

{{.Milestone.Name}}

+
+ {{.Milestone.RenderedContent|Str2html}} +
-
{{if not .Repository.IsArchived}}