MR header: Fix tooltip of copy branch name

What does this MR do and why?

MR header: Fix tooltip of copy branch name in the MR fixed header after branch name was copied

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

  1. Go to an MR
  2. Scroll down until the sticky header is shown
  3. Click on the Copy branch name button
  4. Hover the Copy branch name button to see the copy tooltip. It should appear as expected.
  5. Move the cursor away until the tooltip disappears
  6. Hover the Copy branch name button again
  7. See the raw HTML of the tooltip content inside the tooltip instead of seeing the intended contents as seen in step 4 above.

Related to #469616 (closed)
Closes #479633 (closed)

Merge request reports

Loading