forked from gitea/gitea
1
0
Fork 0
gitea/templates/repo/editor
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
..
cherry_pick.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
commit_form.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
delete.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
diff_preview.tmpl Fix broken code editor diff preview (#23307) 2023-03-06 09:37:58 +08:00
edit.tmpl Fix EOL handling in web editor (#27141) 2023-09-24 19:51:02 +00:00
patch.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
upload.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00