1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-12 10:44:27 +00:00
Giteabot a1029cb2ca
Fix EOL handling in web editor (#27141) (#27234)
Backport #27141 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
..
2022-12-24 00:03:11 +08:00
2022-12-24 00:03:11 +08:00
2022-12-24 00:03:11 +08:00
2023-08-24 12:13:23 +00:00
2022-12-24 00:03:11 +08:00
2022-12-24 00:03:11 +08:00
2022-12-24 00:03:11 +08:00