Steps to reproduce
Create a note with the following content:
# a
foo
# a
bar
Press and hold Ctrl
and hover over the second a
heading in the Outline pane. This yields the following, incorrect, preview (expected bar
, got foo
):
Did you follow the troubleshooting guide? [Y/N]
Yes, the above screenshot is taken from the sandbox vault.
Expected result
I expect to see the second header rendered in the preview tooltip.
Actual result
The rendered preview is for the first occurrence of # a
in the document, regardless of which heading I hover over in the Outline pane.
Environment
SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: Windows 11 Pro 10.0.22631
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none