summaryrefslogtreecommitdiffstats
path: root/models/mail.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/mail.go')
-rw-r--r--models/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/mail.go b/models/mail.go
index e66e316ba0..16e8c9e2ef 100644
--- a/models/mail.go
+++ b/models/mail.go
@@ -150,7 +150,7 @@ func composeTplData(subject, body, link string) map[string]interface{} {
func composeIssueMessage(issue *Issue, doer *User, tplName base.TplName, tos []string, info string) *mailer.Message {
subject := issue.mailSubject()
- body := string(markdown.RenderSpecialLink([]byte(issue.Content), issue.Repo.HTMLURL(), issue.Repo.ComposeMetas()))
+ body := string(markdown.RenderString(issue.Content, issue.Repo.HTMLURL(), issue.Repo.ComposeMetas()))
data := composeTplData(subject, body, issue.HTMLURL())
data["Doer"] = doer