Telegram Integration: escape markdown characters

Summary

Notify message in the telegram integration doesn't send if a message summary has not escaped markdown characters.

Steps to reproduce

As one of possible way: change/create user name with any closable tags like bold (*) or italic (_) like NameHere_, and trigger any event to send telegram notify

Example Project

--

What is the current bug behavior?

Notification don't appear in telegram chat (btw i not found any logs about 400 telegram errors or something)

What is the expected correct behavior?

Notification appear in telegram chat with escaped markdown characters

Relevant logs and/or screenshots

--

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited by Alexander Bakunovich