Browse Source

Merge pull request #447 from m0sth8/fix-milestone-render-markdown

Render milestone content as markdown
for-closed-social
无闻 10 years ago
parent
commit
40bc130b19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/issue.go

+ 1
- 1
routers/repo/issue.go View File

@ -940,7 +940,7 @@ func Milestones(ctx *middleware.Context) {
return return
} }
for _, m := range miles { 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() m.CalOpenIssues()
} }
ctx.Data["Milestones"] = miles ctx.Data["Milestones"] = miles

Loading…
Cancel
Save