Single quote breaks code syntax coloring
Summary
While viewing code changes in commit section, if there is some text in the code with only one single quote, all the code after that line are shown in red colour, which is not expected. I suppose it only happens when there are no double quotes surrounding the said text.
Steps to reproduce
Commit some code that contains this portion of code: -> Hello world. This is Sammy's project and blah blah blah. Go to the commit section and see the changes, all the text after the apostrophe(') is shown in red.
Example Project
None
What is the current bug behavior?
All the text content after a single quote are coloured in red.
What is the expected correct behavior?
The syntax colour should remain consistent throughout the code
Relevant logs and/or screenshots
Output of checks
The bug happens on Gitlab.com
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
(If you can, link to the line of code that might be responsible for the problem)
