Skip to content

Merge request title change not rendered properly

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

On a Free, Self-Managed instance of GitLab 16.5.2, I changed one of my MRs title from 'Draft: Make deep learning pipeline sequential' to 'Draft: Make the test stage jobs sequential' and the diff isn't rendered properly.

Steps to reproduce

  • In a GitLab repo, open an MR with the title 'Draft: Make deep learning pipeline sequential'.
  • Change title to 'Draft: Make the test stage jobs sequential'.
  • Look at the title in the MR feed.

Example Project

mahotd/test-project!1

What is the current bug behavior?

The diff for the title isn't displayed properly: it is displayed as 'Draft: Make {+the test stage jobs+} sequential'.

What is the expected correct behavior?

The diff should be displayed correctly (with the correct color highlighting and the brackets correctly escaped).

Relevant logs and/or screenshots

gitlab_issue

The issue is similar to gitlab-foss#30630 (closed)

Output of checks

This bug happens on a Free, Self-Managed instance

This bug happens on GitLab.com

Results of GitLab environment info

Free, Self-Managed instance of GitLab 16.5.2

Results of GitLab application Check

Possible fixes

Edited by 🤖 GitLab Bot 🤖