Link inside header, does not format well in outline of document

Steps to reproduce

Create a header containting a link

# Foo
## Bar
### Hello [World](www.example.com)

Expected result

document outline should show:

> Foo
 > Bar
  > Hello World

Actual result

Outline shows

> Foo
 > Bar
  > Hello [World](www.example.com)

Environment

  • Operating system: macOS Monterey 12.6
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.15.9
	Installer version: v0.15.9
	Operating system: Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 21.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: off
	Plugins installed: 2
	Plugins enabled: 2
		1: Emoji Shortcodes v2.1.2
		2: Icon Folder v1.3.4

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Additional information

screenshot