Footnote in header isn't ignored by the Outline

Steps to reproduce

  1. Create a heading e.g. # foo.
  2. Add footnote to it # foo[^bar] (no need to create [^bar]: ..., works with [^1] too).
  3. Check Outline.

Did you follow the troubleshooting guide? Y

Expected result

Outline should show “foo” as a heading in the list, ignoring the footnote.

Actual result

Outline incorrectly shows “foobar” as the heading.

Environment

In sandbox:

SYSTEM INFO:
	Obsidian version: v1.4.16
	Installer version: v1.4.16
	Operating system: Windows 10 Pro 10.0.22621
	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

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

Thanks.

1 Like