jdanielmourao/obsidian-sanctum

[Bug] Adding link in task creates extra spaces

Closed this issue · 2 comments

Bug Description

If I try to create a new link while in a task by typing two square bracket, extra spaces are opened up both within the brackets outside the brackets. The extra spaces don't show up in reading view, only in source mode and live preview. This only seems to happen in top-level tasks, not in subtasks.

To Reproduce

Create a wikilink while inside a task.

Expected behavior

Wikilink to be created as normal.

Relevant Screenshot(s)

image

Obsidian Version

0.15.8

Installer Version

0.15.8

Font Size

15

Which editor are you using?

  • New Editor
  • Legacy Editor

In which mode(s) does the problem occur? (if applicable)

  • Reading View (Preview)
  • Editing View - Source Mode
  • Editing View - Live Preview

Which operating system?

  • Windows
  • macOS
  • Linus
  • Android
  • iOS

Checklist

  • I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
  • I made sure that the issue is related to this theme by checking that the problem does not occur with the default theme.
  • If the bug occured after updating the theme, I read the last couple Releases to make sure the bug is not an intentional change.

Additional Context

No response

If you update now, the issue should be fixed.

Marvellous. Thanks!