Description
Opening a .md file and clicking any header or text in the preview pane instantly marks the file as having unsaved changes. This appears to be related to line endings (CRLF vs. LF).
Environment
- OS: Windows 10
- Ferrite version: 0.3.0
- Installation method: Pre-built from website
Steps to Reproduce
- Open a Windows-created
.md file.
- Open the preview pane and click on a header.
- Observe that the file now shows unsaved changes.
- Save the file under a new name.
- Compare the original and new file in a diff tool: the only difference is the line ending style (Windows vs. Unix).
Expected Behavior
No changes should be detected, as is the case with most editors/markdown editors.
Actual Behavior
The file is marked as modified, with line endings converted from CRLF to LF.
Description
Opening a
.mdfile and clicking any header or text in the preview pane instantly marks the file as having unsaved changes. This appears to be related to line endings (CRLF vs. LF).Environment
Steps to Reproduce
.mdfile.Expected Behavior
No changes should be detected, as is the case with most editors/markdown editors.
Actual Behavior
The file is marked as modified, with line endings converted from CRLF to LF.