Description
Comments are being inserted into notes when switching between source and WYSIWYG editing.
Steps to reproduce
- Create a blank note (while not in source mode)
- Switch to source mode with either the button or the hotkeys
- Notice that
<!-- -->(a set of HTML comment begin and end tags) is inserted into the source, which is not viewable in WYSIWYG mode
Related
- Creating /callouts will cause an additional instance of HTML comment begin/end sometimes, although it's not clear under what conditions
- When editing the document under normal circumstances, these tags accumulate
Tested on
Windows 11, Linux (AppImage).
### Description
Comments are being inserted into notes when switching between source and WYSIWYG editing.
### Steps to reproduce
1. Create a blank note (while not in source mode)
2. Switch to source mode with either the button or the hotkeys
3. Notice that `<!-- -->` (a set of HTML comment begin and end tags) is inserted into the source, which is not viewable in WYSIWYG mode
### Related
- Creating /callouts will cause an additional instance of HTML comment begin/end sometimes, although it's not clear under what conditions
- When editing the document under normal circumstances, these tags accumulate
### Tested on
Windows 11, Linux (AppImage).
27 KiB