aboutsummaryrefslogtreecommitdiff
path: root/models/issue_mail.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-31 15:29:43 -0400
committerUnknwon <u@gogs.io>2017-03-31 15:29:43 -0400
commitc1c269d9ef50595475cf4c6728d9b20a6417c490 (patch)
tree287621c5244c9b11b6e980190fce9bb887d2bf1f /models/issue_mail.go
parent9edac05e05387e335466957ecf3400a19c6ae808 (diff)
modules: rename markdown -> markup
To further support more markup languages (e.g. Org-mode, AsciiDoc, reStructuredText), the name 'markdown' is inappropriate. This is the first step towards more markup language support.
Diffstat (limited to 'models/issue_mail.go')
-rw-r--r--models/issue_mail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue_mail.go b/models/issue_mail.go
index be653b89..d0447261 100644
--- a/models/issue_mail.go
+++ b/models/issue_mail.go
@@ -11,7 +11,7 @@ import (
log "gopkg.in/clog.v1"
"github.com/gogits/gogs/modules/mailer"
- "github.com/gogits/gogs/modules/markdown"
+ "github.com/gogits/gogs/modules/markup"
"github.com/gogits/gogs/modules/setting"
)
@@ -162,7 +162,7 @@ func mailIssueCommentToParticipants(issue *Issue, doer *User, mentions []string)
// MailParticipants sends new issue thread created emails to repository watchers
// and mentioned people.
func (issue *Issue) MailParticipants() (err error) {
- mentions := markdown.FindAllMentions(issue.Content)
+ mentions := markup.FindAllMentions(issue.Content)
if err = updateIssueMentions(x, issue.ID, mentions); err != nil {
return fmt.Errorf("UpdateIssueMentions [%d]: %v", issue.ID, err)
}