diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-05-12 20:27:42 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-05-12 20:27:42 +0300 |
commit | ec1a3c093f7a8d2fe29e46ec06e6b35e3f1d97ff (patch) | |
tree | 0e3b3584e41de2ff3f6d9efed11bd0835fd10964 /app/services | |
parent | 5c7f63f590100deafb8b04bec9daf9006ed1105e (diff) | |
parent | b6ad80501577dcb09190d56333c035d59984b2a4 (diff) |
Merge branch 'dm-dependency-linker-gemfile' into 'master'
Autolink package names in Gemfile
See merge request !11224
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/system_note_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index 0766df50ed2..93bf1fb1615 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -291,8 +291,8 @@ module SystemNoteService old_diffs, new_diffs = Gitlab::Diff::InlineDiff.new(old_title, new_title).inline_diffs - marked_old_title = Gitlab::Diff::InlineDiffMarker.new(old_title).mark(old_diffs, mode: :deletion, markdown: true) - marked_new_title = Gitlab::Diff::InlineDiffMarker.new(new_title).mark(new_diffs, mode: :addition, markdown: true) + marked_old_title = Gitlab::Diff::InlineDiffMarkdownMarker.new(old_title).mark(old_diffs, mode: :deletion) + marked_new_title = Gitlab::Diff::InlineDiffMarkdownMarker.new(new_title).mark(new_diffs, mode: :addition) body = "changed title from **#{marked_old_title}** to **#{marked_new_title}**" |