Vinzent03 / find-unlinked-files

Find files, which are nowhere linked, so they are maybe lost in your vault.
MIT License
293 stars 14 forks source link

Incorrect links for filenames ending with space #21

Closed mnaoumov closed 2 years ago

mnaoumov commented 2 years ago

If you have a unlinked note Note_.md, where _ is a space character.

Plugin creates link [[Note_]] which is invalid link in Obsidian and it should be [[Note]] instead. Subsequent calls of the plugin still mark Note_.md as unlinked

mnaoumov commented 2 years ago

It seems to be a bug in Obsidian itself, not plugin's fault https://forum.obsidian.md/t/handling-of-notes-filenames-with-leading-and-trailing-whitespaces-created-externally/21994