mirror of https://github.com/Requarks/wiki.git
Browse Source
feat: add newline to the end of page content
feat: add newline to the end of page content
When pages are stored in a bidirectional storage (e.g. git), it's expected that people can edit and update the files there. Many text editor add a newline or warn about missing newlines at the end of files. Adding tailing newlines when storing pages to disk, will avoid this issues.pull/3245/head
6 changed files with 24 additions and 15 deletions
Split View
Diff Options
-
9server/models/pages.js
-
6server/modules/storage/azure/storage.js
-
6server/modules/storage/disk/storage.js
-
6server/modules/storage/git/storage.js
-
6server/modules/storage/s3/common.js
-
6server/modules/storage/sftp/storage.js
Write
Preview
Loading…
Cancel
Save