dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.71k stars 254 forks source link

In Windows, new notes always uses LF instead of CRLF #3736

Open rioka opened 1 year ago

rioka commented 1 year ago

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Describe the bug

Recently, I noticed new notes are created with LF as eol, under Windows, but if I create a simple .md files myself, CRLF is used (as expected)

To Reproduce

Steps to reproduce the behavior:

  1. Create a new note
  2. See eol

Expected behavior

Since "Eol" is set to auto in VSCode, CRLF was supposed to be used.

Screenshots

Note in dendron image

Plain MD file

image

Desktop (please complete the following information)

Additional context

I started noticing this problem 3 or four weeks ago, no issues before that date.

Dendron Log file

Please attach the output of > Dendron:Dev: Open Logs here

hikchoi commented 1 year ago

Thank you for the report. We'll take a look.

pinging @Harshita-mindfire for Windows related issue.