Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
(macOS) diff contains \n characters #435
Maybe I don't know something that I should, but when I look at the note history, sometimes I see \n characters where the new line should have been (image is in the attachment).
Notes are stored correctly and there are no problems with that - they look normal in Note text tab.
I've googled diff images and couldn't find with these symbols - usually they have standard line breaks, but maybe I'm wrong.
Maybe this issue is related to #98 - it's not game breaking, but sometimes I see this window while working with a note only with differences in \n characters
My complaint is about writing
Left image - how it works now, right image - how I want it to work :)
The function itself works fine, no bugs in saving notes. I just thought that this behaviour can be counter-intuitive (especially for non-programmers). If this is an intended functionality, please mark this 'issue' as closed.
Thank you for explaining. This is an intended functionality of the diff library https://github.com/pbek/QOwnNotes/tree/develop/src/libraries/diff_match_patch. There are different types of line break.