forgejo/routers
Giteabot a1029cb2ca
Fix EOL handling in web editor () ()
Backport  by @silverwind

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

Co-authored-by: silverwind <me@silverwind.io>
2023-09-24 22:10:38 +00:00
..
api Fix organization field being null in POST /orgs/{orgid}/teams () () 2023-09-21 12:15:20 +02:00
common Extract auth middleware from service () 2023-09-12 08:15:16 +02:00
install Reduce usage of db.DefaultContext () 2023-09-14 17:09:32 +00:00
private Reduce usage of db.DefaultContext () 2023-09-14 17:09:32 +00:00
utils Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Fix EOL handling in web editor () () 2023-09-24 22:10:38 +00:00
init.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00