Auto-completed brackets are sometimes duplicated

This is similar to a previous bug report

Occurs with or without custom CSS.

When the Editor setting Auto pair brackets is on, using Tab to complete an internal link results in an extra set of closing brackets (]]).

Steps to reproduce

  • Create a note called One Note
  • Create a note called Two Note
  • In Note 2, type: [[O, then hit Tab to auto-complete the link.

Expected result

Auto-completion will generate: [[One Note]]

Actual result

Auto-completion generates: [[One Note]] ]]

Environment

  • Operating system: Windows 10 Pro 1909
  • Obsidian version: v0.8.4

Additional information

This occurs with Auto complete brackets set to on when using Tab to auto-complete the link.

It does not occur when using Enter to auto-complete a link, or when Auto complete brackets is set to off.

1 Like

This was already reported and fixed in 0.8.5.