diff options
author | Stan Hu <stanhu@gmail.com> | 2015-03-12 19:11:59 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-03-19 17:07:30 +0300 |
commit | fad71576f91beb4aae8e8482465a696cdfc3b222 (patch) | |
tree | fb49dc03811db01f1a66fe21ba7dfaac2fb6337a /app/services/notification_service.rb | |
parent | 6c1074e302fd77e87c454cede145dd92f15d0c55 (diff) |
Fix cross references when usernames, milestones, or project names contain underscores.
Remove emphasis from system notes to avoid Markdown conflicts in names.
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 848ed77ebf8..cc5853144c5 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -120,7 +120,7 @@ class NotificationService return true unless note.noteable_type.present? # ignore gitlab service messages - return true if note.note.start_with?('_Status changed to closed_') + return true if note.note.start_with?('Status changed to closed') return true if note.cross_reference? && note.system == true opts = { noteable_type: note.noteable_type, project_id: note.project_id } |