-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs displayed as spaces #14089
Comments
This is fixed on try already. 1.14.0+dev-432-g34df4e5df https://try.gitea.io/arandomer/cub3d/src/branch/cub3d/src/main.c |
I updated to version Here is the name of the migrated repository: https://git.sperec.fr/arthur/cub3d_test/src/branch/cub3d/src/main.c |
Does https://try.gitea.io/arandomer/cub3d/src/branch/cub3d/src/main.c look correct for you? I've just tried it on my local firefox 84 (ubuntu package) and chrome and it works. I've just pulled gitea master to addd424 - rebuilt and it similarly works. Do you have a local CSS? I agree your site demonstrates the issue. |
It's perfect on try.gitea.io! I tried on Brave I don't have custom CSS, and the same problem occurs on Windows with Edge, Firefox and Chrome. As well as on Android. I can share all the necessary logs but I haven't seen anything problematic or interesting. |
Hmm so it looks like it's coming directly out of gitea without the spaces - this is weird. |
Has something happened to your templates on disk? When looking in a browser all of the HTML from your site is collapsed with no spaces/tabs etc...: Vs try and any other test I've tried: Or is it possible that whatever proxy you have is messing with the whitespace in the HTML it returns? Does it have the problem if you access Gitea directly without something else in the middle? |
@mrsdizzie You are absolutely right! I use caddy with Cloudflare (I don't know if it plays), and if I go directly through the IP with the port I have no problem. I'll look in that direction, thanks a lot for your help! EDIT : After testing, by disabling Cloudflare and emptying the cache everything works perfectly. No idea what could have happened, but it's now solved thanks to you! And thank you because I never would have suspected Cloudflare. |
you could have started with "Cloudflare" :D |
@arthur-trt It could be that you had HTML minimize turned on: But not familiar with Cloudflare otherwise. Glad it is fixed. |
1.14.0+dev-425-ge8a354f81
2.26.2
[x]
):Description
For some time now and on the dev and stable channels I have a problem displaying tabs on my repos. Indeed on git when I open the file I see this:
Whereas if I open it raw I see this:
And there the tabs are well shaped. I tried to reinstall gitea but I can't solve this problem. All my repositories look like this whatever the language (tested with C, BASH, Makefile, and python). I haven't seen anything interesting in the logs about it but if you need more information there's no problem !
Here is the repository link that I used to take these screenshots: https://git.sperec.fr/arthur/cub3d/src/branch/cub3d/src/main.c
Screenshots
Web interface of the repository :
View of the raw file in the browser :
The text was updated successfully, but these errors were encountered: