Updating internal (markdown) links doesn't update displayed title

Let me say upfront, that this is only relevant for markdown links that have the following property display name === file name (not urlencoded).

[display name](link)

This is keeping it consistent with wiki links, where a wiki link like [[foo]] translates to [foo](foo).

Steps to reproduce

  1. Create a file foo and a file bar.
  2. Create an internal link from foo to bar in foo using markdown links: [bar](bar)
  3. Rename bar to baz and confirm the updating of links

Expected result

Only if the link had the same display name as the note title (although not urlencoded):

The internal link in foo reads [baz](baz).

Actual result

The internal link in foo reads [bar](baz).

Environment

  • Operating system: mac OS 10.15.7
  • Obsidian version: 0.9.15

Additional information

  • Automatically update internal links is off (to show the confirmation)
  • Use [[Wikilinks]] is off
  • New Link Format is relative to file

thanks

I am gonna move this to feature request