Work item title should be rendered as string
### Summary
If you add a tag in the title it will get omitted but still saved
### Steps to reproduce
1. Go to any project
2. Create an issue and title it `Example <title>`
3. Save it
4. Observe that it says `Example` but when editing it says `Example <title>`
### Example Project
### What is the current *bug* behavior?
The string is not rendered as text
### What is the expected *correct* behavior?
The string is rendered as text
### Relevant logs and/or screenshots
{width=900 height=182}
{width=900 height=360}
### Output of checks
This bug happens on GitLab.com
GitLab Enterprise Edition 18.10.0-pre a4a721c011d
### Possible fixes
<!-- If you can, link to the line of code that might be responsible for the problem. -->
### Patch release information for backports
If the bug fix needs to be backported in a [patch release](https://handbook.gitlab.com/handbook/engineering/releases/patch-releases) to a version
under [the maintenance policy](https://docs.gitlab.com/policy/maintenance/), please follow the steps on the
[patch release runbook for GitLab engineers](https://gitlab.com/gitlab-org/release/docs/-/blob/master/general/patch/engineers.md).
Refer to the [internal "Release Information" dashboard](https://dashboards.gitlab.net/d/delivery-release_info/delivery3a-release-information?orgId=1)
for information about the next patch release, including the targeted versions, expected release date, and current status.
#### High-severity bug remediation
To remediate high-severity issues requiring an [internal release](https://handbook.gitlab.com/handbook/engineering/releases/internal-releases/) for single-tenant SaaS instances,
refer to the [internal release process for engineers](https://gitlab.com/gitlab-org/release/docs/-/blob/master/general/internal-releases/engineers.md?ref_type=heads).
<!-- If you don't have /label privileges, follow up with an issue comment of `@gitlab-bot label ~"type::bug"` -->
issue