1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
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
..
2023-09-17 08:24:40 +00:00
2023-07-07 05:31:56 +00:00
2023-06-29 10:03:20 +00:00
2023-06-23 12:37:56 +00:00
2023-09-16 16:03:02 +00:00