diff options
author | silverwind <me@silverwind.io> | 2023-09-24 21:51:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 19:51:02 +0000 |
commit | 3a187eace5643a3dc681f87bdd8d0edbb742aa8f (patch) | |
tree | 1345da1ee1ca0b2fac66a42c7f93357db508b869 /modules/hcaptcha/hcaptcha.go | |
parent | 8e23524b18f4075e7db3dc1a7270abc0d9793dcb (diff) | |
download | gitea-3a187eace5643a3dc681f87bdd8d0edbb742aa8f.tar.gz gitea-3a187eace5643a3dc681f87bdd8d0edbb742aa8f.zip |
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
Diffstat (limited to 'modules/hcaptcha/hcaptcha.go')
0 files changed, 0 insertions, 0 deletions