obsidian-linter
obsidian-linter copied to clipboard
FR: Convert non-breaking spaces into normal spaces
Is Your Feature Request Related to a Problem? Please Describe.
I recently copied text from a web site that contained non-breaking spaces (HTML
) into a note and while working with the text (normal editing, replacing and sorting text) I noticed some weird behavior from Obsidian until I realized that my text contained both non-breaking spaces and normal spaces, which are visually indistinguishable.
Describe the Solution You'd Like
I would like to have an option to automatically convert non-breaking spaces into regular spaces.
Describe Alternatives You've Considered
I was able to help myself with a simple custom regex: +
→
. That first field contains a non-breaking space and a +
and the second field a normal space.
Only one problem with this solution: This also replaces non-breaking spaces inside inline code in backticks and in code blocks.