Attention: Development on Laverna has been moved to a new repository at https://github.com/encryptic-team/encryptic. This repository (as well as the master at laverna/Laverna) should be considered depricated.
Type & in the editor window, and the preview will show &. Save the note and it will show a & in the note view.
If you reopen that note though, the editor will have changed it from & to &. This I have a problem with. The editor should never alter the source text. This way, the output still conforms to markdown spec, while the input is not sanitized.
I have a fix for this already that I'll be committing tonight. I just wanted to put this in as an issue for feedback purposes. Note that my change also conforms to how github works as well.
This happens for all html special characters.
Type
&
in the editor window, and the preview will show &. Save the note and it will show a & in the note view. If you reopen that note though, the editor will have changed it from&
to &. This I have a problem with. The editor should never alter the source text. This way, the output still conforms to markdown spec, while the input is not sanitized.