diff options
author | Vyacheslav Bakhmutov <m0sth8@yandex-team.ru> | 2014-09-05 09:10:58 +0700 |
---|---|---|
committer | Vyacheslav Bakhmutov <m0sth8@yandex-team.ru> | 2014-09-05 09:10:58 +0700 |
commit | 6498fce04bdf4fb8503d226036c501901db56114 (patch) | |
tree | f753fa0f71e464e478e02224863b864ed374b7c2 | |
parent | 033a7f022401fb1bd5fdc540f24ba26f5ab64a75 (diff) | |
download | gitea-6498fce04bdf4fb8503d226036c501901db56114.tar.gz gitea-6498fce04bdf4fb8503d226036c501901db56114.zip |
Render milestone content as markdown
-rw-r--r-- | routers/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 59921d5515..934cf3c988 100644 --- a/routers/repo/issue.go +++ b/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 |