Number is stripped from Merge Request title on frontend
### Summary
When Merge Request title is in form "NNNNN. Title text", while displaying Merge Request page, the leading "NNNNN. " is stripped from the title text. If I change the dot to other symbol (i.e. "NNNNN: "), it does not happen.
Although, the number is still there on the page with MR list, and on MR Edit page, so it happens only on frontend.
### Steps to reproduce
Create new branch in project, create MR, name it like "12345. Some text". See that on MR's page there is no "12345. " in MR Title.
### Example Project
[Project](https://gitlab.com/nvsmirnov/gitlab-mr-bug), [MR example](https://gitlab.com/nvsmirnov/gitlab-mr-bug/-/merge_requests/1)
### What is the current *bug* behavior?
As discribed above, number is stripped from MR Title on the frontent [on this page](https://gitlab.com/nvsmirnov/gitlab-mr-bug/-/merge_requests/1), but you can see it in other places, like [MR list page](https://gitlab.com/nvsmirnov/gitlab-mr-bug/-/merge_requests)
### What is the expected *correct* behavior?
MR Title should not be mangled like described above while displaying on MR Page.
### Relevant logs and/or screenshots
MR page, title is stripped:
{width=339 height=138}
MR list page, title is full:
{width=274 height=173}
### Output of checks
This bug happens on GitLab.com
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
Reproducible on gitlab.com, and on my on-premise installation (ce 18.5.1). And also, in my installation, MRs which were created before migration to 18.5.1, do not have this problem.
</details>
#### Results of GitLab application Check
### Possible fixes
### Patch release information for backports
#### High-severity bug remediation
<!-- If you don't have /label privileges, follow up with an issue comment of `@gitlab-bot label ~"type::bug"` -->
issue