diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-19 11:57:03 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-19 11:57:03 -0500 |
commit | 33d4a6e2442598068f60519f8557804be2be21fe (patch) | |
tree | fdbf52b968682a39612cb6470315fc3093b77074 /app | |
parent | c0c394262833a4a35e3b2f7006ba6a4e93ef80d1 (diff) | |
download | gitlab-ce-33d4a6e2442598068f60519f8557804be2be21fe.tar.gz |
Remove backticks from chat messages because they're not rendered as codedm-chat-message-backticks
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_services/chat_message/pipeline_message.rb | 2 | ||||
-rw-r--r-- | app/models/project_services/chat_message/push_message.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/models/project_services/chat_message/pipeline_message.rb b/app/models/project_services/chat_message/pipeline_message.rb index 3edc395033c..d63d4ec2b12 100644 --- a/app/models/project_services/chat_message/pipeline_message.rb +++ b/app/models/project_services/chat_message/pipeline_message.rb @@ -70,7 +70,7 @@ module ChatMessage end def branch_link - "`[#{ref}](#{branch_url})`" + "[#{ref}](#{branch_url})" end def project_link diff --git a/app/models/project_services/chat_message/push_message.rb b/app/models/project_services/chat_message/push_message.rb index 04a59d559ca..c52dd6ef8ef 100644 --- a/app/models/project_services/chat_message/push_message.rb +++ b/app/models/project_services/chat_message/push_message.rb @@ -61,7 +61,7 @@ module ChatMessage end def removed_branch_message - "#{user_name} removed #{ref_type} `#{ref}` from #{project_link}" + "#{user_name} removed #{ref_type} #{ref} from #{project_link}" end def push_message @@ -102,7 +102,7 @@ module ChatMessage end def branch_link - "`[#{ref}](#{branch_url})`" + "[#{ref}](#{branch_url})" end def project_link |