The file suffix will be lost after rename a folder and automaticlly update internal link

Steps to reproduce

  1. Create a folder testfolder
  2. Create a file testfile1.md in the folder
  3. Create a file testfile2.md in other folder(not in testfolder)
  4. Link testfile1.md in testfile2.md with a markdown link
[a_link](./testfolder/testfile1.md)
  1. Rename testfolder to folder, make sure the link will be automatically updated

Expected result

[a_link](./folder/testfile1.md)

Actual result

The file suffix will be lost like this:

[a_link](./folder/testfile1)

Environment

  • Operating system: Windows 10 version 1909
  • Obsidian version: 0.9.15

Additional information

A post was merged into an existing topic: Updating Internal Links: Removes File Extension When Using Markdown Links