Links to canvases do not remove the extension when pressing tab

Steps to reproduce

  1. Open obsidian sandbox vault
  2. Create a new canvas, e.g. “Test Canvas.canvas”
  3. Open any other standard note, e.g. “Start here”
  4. Type “[[Test Canvas”
  5. Press tab to autocomplete
  6. Observe that the link auto-completed is “[[Test Canvas.canvas]]” not “[[Test Canvas.canvas|Test Canvas]]”

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

Yes

Expected result

The internal link should autocomplete and set the display text to the name of the canvas without the extension. This used to happen correctly and may have broken in a recent version.

Actual result

The internal link autocompleted does not include any display text and so displays with the .canvas extension

Environment

SYSTEM INFO:
	Obsidian version: v1.11.5
	Installer version: v1.11.5
	Operating system: Windows 10 Home 10.0.19045
	Login status: not logged in
	Language: en
	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

Looks like an intentional change: