aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVyacheslav Bakhmutov <m0sth8@yandex-team.ru>2014-09-05 09:10:58 +0700
committerVyacheslav Bakhmutov <m0sth8@yandex-team.ru>2014-09-05 09:10:58 +0700
commit6498fce04bdf4fb8503d226036c501901db56114 (patch)
treef753fa0f71e464e478e02224863b864ed374b7c2
parent033a7f022401fb1bd5fdc540f24ba26f5ab64a75 (diff)
downloadgitea-6498fce04bdf4fb8503d226036c501901db56114.tar.gz
gitea-6498fce04bdf4fb8503d226036c501901db56114.zip
Render milestone content as markdown
-rw-r--r--routers/repo/issue.go2
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