Bracketed URLs are not highlighted properly in editing modes

Standalone bracketed URLs like <https://google.com> are not highlighted properly in editing modes, however, are properly interpreted as links in reading mode.

Steps to reproduce

  1. Start Obsidian.

  2. Switch to editing mode (live preview or source mode).

  3. Insert a standalone URL in angled brackets, like <https://google.com>, into the editor.

  4. See the closing bracket not highlighted properly:

    Screen Shot 2023-10-27 at 15.53.45

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

Y

Expected result

Both opening and closing angle brackets in links are highlighted as Markdown markup.

Actual result

Closing angle brackets in links are not highlighted as Markdown markup.

Environment

SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.13
Operating system: Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 19.6.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

1 Like