Web IDE does not display trailing whitespace

Summary

Opening a file that has trailing white-space does not show correct white spaces on the Web IDE:

image

But it does on the Single-File editor correctly:

image

Steps to reproduce

  1. Create an MR that has trailing white space changes.
  2. Compare the trailing white space line in Single File Editor vs Web IDE.

What is the current bug behavior?

Web IDE does not display trailing white spaces.

What is the expected correct behavior?

Web IDE should display trailing white spaces.

Output of checks

This bug happens on Gitlab.com

Edited Aug 11, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading