Steps to reproduce
- Format selection as comment.
- Delete the comment format.
or - Format selection as comment.
Did you follow the troubleshooting guide? [Y/N]
Yes
Expected result
No extra spaces. The format should add ‘%%’ at the beginning and at the end of the selection.
Actual result
Extra spaces added. The format adds ‘%% ’ at the beginning of the selection and ’ %%’ at the end.
Environment
SYSTEM INFO:
Obsidian version: v1.11.7
Installer version: v1.6.7
Operating system: Windows 10 Pro N 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 1
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Additional information
Issue happens in the Sandbox Vault too.
Thank you!