Missing indentation #6271

Closed
opened 2025-11-02 06:50:36 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @cyb3rko on GitHub (Nov 8, 2020).

  • Gitea version (or commit ref): 1.14.0+dev-59-ga67b2bc30
  • Git version: Git for Windows 2.28
  • Operating system:
    downloaded via / running on docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL (MariaDB)
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No

Description

If you open files which contain code with indentation the very first indentation is just one space, every other indentation is just ignored.

Screenshots

Gitea Interface:
Gitea Issue1

Raw Content:
Gitea Issue2

Originally created by @cyb3rko on GitHub (Nov 8, 2020). - Gitea version (or commit ref): 1.14.0+dev-59-ga67b2bc30 - Git version: Git for Windows 2.28 - Operating system: downloaded via / running on docker - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL (MariaDB) - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No ## Description If you open files which contain code with indentation the very first indentation is just one space, every other indentation is just ignored. ## Screenshots **Gitea Interface**: ![Gitea Issue1](https://user-images.githubusercontent.com/46033730/98468980-3b38cf80-21dd-11eb-8887-bd3a5a7ad218.PNG) **Raw Content**: ![Gitea Issue2](https://user-images.githubusercontent.com/46033730/98468989-47249180-21dd-11eb-9ede-4f74bf64029d.PNG)
GiteaMirror added the issue/duplicate label 2025-11-02 06:50:36 -06:00
Author
Owner

@zeripath commented on GitHub (Nov 8, 2020):

this is a duplicate and is already fixed.

@zeripath commented on GitHub (Nov 8, 2020): this is a duplicate and is already fixed.
Author
Owner

@cyb3rko commented on GitHub (Nov 8, 2020):

Which version will it have included?

@cyb3rko commented on GitHub (Nov 8, 2020): Which version will it have included?
Author
Owner

@zeripath commented on GitHub (Nov 8, 2020):

try.gitea.io is on 1.14.0+dev-168

you should update.

@zeripath commented on GitHub (Nov 8, 2020): try.gitea.io is on 1.14.0+dev-168 you should update.
Author
Owner

@cyb3rko commented on GitHub (Nov 15, 2020):

@zeripath
We now are on 1.14.0+dev-215-gd025d84d9, it's still not working.
dev-215 is even newer than dev-168, right?

Is it broken again?

@cyb3rko commented on GitHub (Nov 15, 2020): @zeripath We now are on 1.14.0+dev-215-gd025d84d9, it's still not working. dev-215 is even newer than dev-168, right? Is it broken again?
Author
Owner

@mrsdizzie commented on GitHub (Nov 15, 2020):

You would need to put up an example on try.gitea.io or at least something to copy/paste from here that should help reproduce it. There isn't anything easily reproducible with screenshots of text. I couldn't reproduce this based on the example of

files which contain code with indentation the very first indentation is just one space

@mrsdizzie commented on GitHub (Nov 15, 2020): You would need to put up an example on try.gitea.io or at least something to copy/paste from here that should help reproduce it. There isn't anything easily reproducible with screenshots of text. I couldn't reproduce this based on the example of >files which contain code with indentation the very first indentation is just one space
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6271