File in Callout Renaming Bug

Steps to reproduce

  1. Create a callout (any type)
  2. Add a file to the body of the callout (i.e. not the title)
  3. Rename the file (either the one in the callout, or even one that is on the same page)

Did you follow the troubleshooting guide? [Y/N]

Y, I reproduced bug in sandbox vault on latest version of Obsidian

Expected result

The link to the file should be renamed to what you inputted

Actual result

The file itself is renamed, but the link to the file is not. Not only that, it seems to overwrite existing content on the page with broken syntax.

Environment

SYSTEM INFO:
Obsidian version: v1.6.3
Installer version: v1.4.13
Operating system: Windows 10 Home 10.0.22631
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Oh I also forgot to add that the issue still persists with the normal markdown links as opposed to wikilinks.

Please try to search before posting.