0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/routers
silverwind 3a187eace5
Fix EOL handling in web editor (#27141)
Fixes https://github.com/go-gitea/gitea/issues/27136.

This does the following for Monaco's EOL setting:

1. Use editorconfig setting if present
2. Use the file's dominant line ending as detected by monaco, which uses
LF for empty file
2023-09-24 19:51:02 +00:00
..
api Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
common Extract auth middleware from service (#27028) 2023-09-12 08:15:16 +02:00
install Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
private Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix EOL handling in web editor (#27141) 2023-09-24 19:51:02 +00:00
init.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00