| Title | Indentation error on cgit diff |
|---|---|
| Author | Rodrigo Arias Mallo |
| Created | Sun, 28 Sep 2025 14:44:28 +0200 |
| State | open |
Indentation with tabs in cgit diff seems to be broken, elements don't get aligned as expected.
Here is one example for cgit which shows:
render/form-display-none.html \
render/github-infinite-loop.html \
render/hackernews.html \
+ render/hr.html \
render/img-aspect-ratio-absolute.html \
render/img-aspect-ratio-div.html \
render/img-aspect-ratio-mix-border.html \
Here is an inline reproducer:
It seems to be caused by the whole diff being in one line, as if I split the div elements into separate lines it works fine (but adds extra empty lines).