Skip to content

Remove an extra leading space from diff paste data

What does this MR do?

Remove an extra leading space from diff paste data.

Are there points in the code the reviewer needs to double check?

I have checked the following three patterns.

  • inline diff
  • parallel diff
  • blob preview

Why was this MR needed?

Diff paste data contain an extra leading space. So it need to remove an extra leading space manually from pasted diff data.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#14176 (closed)

Closes #23899 (closed)

Merge request reports