Creating a backlink from the unlinked mentions tab in a table for a note with an alias doesn't escape the | in the link

Steps to reproduce

  1. Create note “foo” and give it the alias “bar”
  2. Create a second note “table” with a table which contains bar
  3. go to the unlinked mentions tab of the backlink section for the foo note and add a link to the bar in the table note from there.
  4. Now you got an unescaped | in you table from [[foo|bar]]

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

Yes, works in the sandbox vault.

Expected result

a table containing [[foo|bar]], so that the | is escaped.

Actual result

a table containing [[foo|bar]], so that the | is not escaped and breakes formatting.

Environment

SYSTEM INFO:
Obsidian version: v1.11.7
Installer version: v1.8.9
Operating system: Windows 11 Home 10.0.26200
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