Skip to content

Fix included avatar in the code copy

What does this MR do and why?

Fixes Copying code from MR diff adds unintentional `u... (#337139 - closed).

Also fixes incorrect avatar alignment on the code line.

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
Screen_Recording_2024-03-29_at_16.44.08 Screen_Recording_2024-03-29_at_16.43.23

How to set up and validate locally

  1. Open any merge request with changed files
  2. Comment on any line
  3. Collapse that comment
  4. Select all the code in the file
  5. Paste that text into a rich text editor (don't forget to switch from plain text\Markdown editor)
  6. Paste should not contain avatars

Merge request reports