Autopaired close-brackets are not overwritten after using Tab to autocomplete a note's name

Steps to reproduce

  • Ensure bracket autopairing is on
  • Create two notes: “Alpha” and “Beta”
  • In Alpha, begin a link by typing double open brackets [[
  • Type “Be” and use Tab to auto-complete the name of “Beta”
  • Type double close brackets ]] to close the link

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

Yes

Expected result

  • The double close brackets ]] should overwrite the autopaired close brackets leaving a clean link: [[Beta]]
  • This is the exact behavior if you don’t use Tab to autocomplete the name and instead type it out in full
  • This is also the behavior for double-quotes, single-quotes, and markdown (if markdown autopairing is enabled)

Actual result

  • The autopaired close-brackets are not overwritten: [[Beta]]]]
  • The cursor is left before the trailing ]]

Environment

SYSTEM INFO:
Obsidian version: v1.3.5
Installer version: v1.3.5
Operating system: Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 22.5.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

thanks