Additional spaces are added to Project Topics containing a capital letter
Summary
Project topics containing a capital letter are displayed with an additional space. Example: TestNoSpace is displayed Test No Space.
Steps to reproduce
Add a TestNoSpace topic to a project, and navigate back to the main project page. Check the displayed topic and see the additional spaces.
Example Project
https://gitlab.com/mgoerens/test_ci
What is the current bug behavior?
Additional space is displayed. This doesn't change the search when one clicks on the topic, but adds confusion to the reader.
Example: Test No Space
What is the expected correct behavior?
No space should be displayed.
Example: TestNoSpace
Relevant logs and/or screenshots
Output of checks
This 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)
