Render milestone content as markdown

This commit is contained in:
Vyacheslav Bakhmutov 2014-09-05 09:10:58 +07:00
parent 033a7f0224
commit 6498fce04b

View file

@ -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