diff options
author | Julian Zinn <julian@asperasoft.com> | 2016-11-04 12:36:37 -0700 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-12-13 13:36:49 +0100 |
commit | 549242c620a812b4ed0f1a3b08f3e315027b9e65 (patch) | |
tree | 80a40790890c7ae8d7b1792e3e8b317c835cf0b2 /app | |
parent | 0139896b370a56619b29e08ba8b5d0da091443b1 (diff) | |
download | gitlab-ce-549242c620a812b4ed0f1a3b08f3e315027b9e65.tar.gz |
For single line git commit messages, the close quote should be on the same line as the open quotejzinn/gitlab-ce-chomp-git-status-message
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_services/jira_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/jira_service.rb b/app/models/project_services/jira_service.rb index 894315a8593..2d969d2fcb6 100644 --- a/app/models/project_services/jira_service.rb +++ b/app/models/project_services/jira_service.rb @@ -220,7 +220,7 @@ class JiraService < IssueTrackerService entity_title = data[:entity][:title] project_name = data[:project][:name] - message = "[#{user_name}|#{user_url}] mentioned this issue in [a #{entity_name} of #{project_name}|#{entity_url}]:\n'#{entity_title}'" + message = "[#{user_name}|#{user_url}] mentioned this issue in [a #{entity_name} of #{project_name}|#{entity_url}]:\n'#{entity_title.chomp}'" link_title = "GitLab: Mentioned on #{entity_name} - #{entity_title}" link_props = build_remote_link_props(url: entity_url, title: link_title) |