[x]):I just updated from 0b510725c to 7a72aa623e9640907fb6dd65e86c62d29b981b62 . I noticed that files now always include line breaking/wrapping and I didn't find a way to turn it off. I assume this is a new "feature", as this is also confirmed on try.gitea.io.
Another issue is, that in a file I have the line numberings suddenly stop at a certain point. It just happens in this specific file and I can't reproduce this on try.gitea.io with random input. Didn't try the original input, as the file has confidential data in it.

Do you have a link to the example on try.gitea.io, to illustrate the issue?
It also looks like this is suffering from the same issue with highlighting as I brought up here #6057.
@lafriks @oscarlofwenhamn Thank you for the attention to this bug. I hope this can be resolved effectively.
This is related to wrapping introduced in https://github.com/go-gitea/gitea/pull/5927. We need to change how line numbers are generated, ideally using CSS counters and ::before. I will have a look a bit later.
This is related to wrapping introduced in #5927. We need to change how line numbers are generated, ideally using CSS counters and
::before. I will have a look a bit later.
Well, so this mess is actually a feature... I need this solved ASAP, or I have to stay on a previous version of Gitea, because this is a really terrible mess, I can't really focus on doing my work due to this.
Or I have to remove e5cd80e0219f10818f43e8cab6b9c814cb1cd796 manually...
I'm happy if collaborators agree to reverting https://github.com/go-gitea/gitea/pull/5927 as I'm not sure when I get around to a proper fix which will take some time.
Thanks for a quick resolution. 馃憤
FTR: The highlighting still looks to be broken even after this PR.
https://github.com/go-gitea/gitea/issues/6057 is a different issue, certainly not related here.