diff options
author | Unknwon <u@gogs.io> | 2015-09-17 15:45:36 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-17 15:45:36 -0400 |
commit | 562e47f31ced80adc6ffa629e2d8459465c369e9 (patch) | |
tree | 3f199d41d4bfebddd8235a46c6c5221dd099c77f /routers | |
parent | 9d36fc698627f290f01cd3cc5a7f4eaec7a669fd (diff) | |
download | gitea-562e47f31ced80adc6ffa629e2d8459465c369e9.tar.gz gitea-562e47f31ced80adc6ffa629e2d8459465c369e9.zip |
finish all new template for current ones
Diffstat (limited to 'routers')
-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 f9a560827a..cc344bd080 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -367,7 +367,7 @@ func NewIssuePost(ctx *middleware.Context, form auth.CreateIssueForm) { mentions := base.MentionPattern.FindAllString(issue.Content, -1) if len(mentions) > 0 { for i := range mentions { - mentions[i] = mentions[i][1:] + mentions[i] = strings.TrimSpace(mentions[i])[1:] } if err := models.UpdateMentions(mentions, issue.ID); err != nil { |