I noticed that when you rename a file your internal links will get updated, not only for the URL, but also for the text in the bracket, which is a pretty awesome feature! But it doesn’t go well when the link contains parent directory.
Steps to reproduce
For example, when you rename the file test.md into foo.md in Obsidian,
- The internal link
[test](test.md) can get updated perfectly into [foo](foo.md)
- But the link
[test](../aa/test.md) in files under other folders is just updated into [test](../aa/foo.md) (while [foo](../aa/foo.md) is expected).
- On the other hand, when you move the file
test.md to the folder bb, the internal link [test](test.md) will get updated into [../bb/test.md](../bb/test.md) (while [test](../bb/test.md) is expected).
Environment
- Operating system: MacOS Catalina 10.15.7
- Obsidian version: v0.11.0