summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-09-07 19:19:10 -0400
committer无闻 <joe2010xtmf@163.com>2014-09-07 19:19:10 -0400
commit40bc130b19cf71a997d5073a2587ea2649128bf8 (patch)
tree07fb3c6d44e382e48cb0cf6bdb3570ded4ee4464
parent0ddb1eb769610f1d74997ad12d848ae5a0bdb4ab (diff)
parent6498fce04bdf4fb8503d226036c501901db56114 (diff)
downloadgitea-40bc130b19cf71a997d5073a2587ea2649128bf8.tar.gz
gitea-40bc130b19cf71a997d5073a2587ea2649128bf8.zip
Merge pull request #447 from m0sth8/fix-milestone-render-markdown
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