Browse Source

Render milestone content as markdown

pull/447/head
Vyacheslav Bakhmutov 11 years ago
parent
commit
6498fce04b
  1. 2
      routers/repo/issue.go

2
routers/repo/issue.go

@ -940,7 +940,7 @@ func Milestones(ctx *middleware.Context) {
return
}
for _, m := range miles {
m.RenderedContent = string(base.RenderSpecialLink([]byte(m.Content), ctx.Repo.RepoLink))
m.RenderedContent = string(base.RenderMarkdown([]byte(m.Content), ctx.Repo.RepoLink))
m.CalOpenIssues()
}
ctx.Data["Milestones"] = miles

Loading…
Cancel
Save