Closed
Description
Gitea version: 1.6.0, 1.5.0
Description
The first level indentation in file preview is in fact by one character shorten than all other levels indentations. For example, if the tab size is 8, first indentation will be 7 characters, not 8. This breaks many source codes rendering.
In the built-in web editor, the indentation works as expected.
Screenshots
Gitea .go code on GitHub:
Gitea .go code on Gitea itself: