Steps to reproduce
- Open a note
- Make a wikilink that will render as a relative link with bar text (i.e., the result looks like
[[../blah/My Note|My Note]]) - Alter the link to remove the bar text (|My Note) and add a character so that the link is no longer correct (i.e., looks like
[[../blah/My Notef]]). - Hit enter to exit the little link-chooser dialog.
- Elsewhere in the note the link is in, make another wikilink pointing to the same note (i.e., [[../blah/My Note|My Note]]).
- Once again remove the bar text, forming a valid link with no text set (i.e., [[../blah/My Note]])
- Attempt to add a section link using the # key (
[[../blah/My Note#]]).
This will automatically replace the link target to the typo from step #3, making it impossible to actually link to the note. Any time you edit the note, Obsidian will automatically typo it again.
Did you follow the troubleshooting guide? [Y/N]
Yup
Expected result
I should be allowed to type a section in the wikilink.
Actual result
The wikilink I was using is replaced by the typoed link.
Environment
This is around in Linux Flatpak 1.5.3 and 1.10.6
The latter has this debug info:
SYSTEM INFO:
Obsidian version: v1.10.6
Installer version: v1.10.6
Operating system: #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:03:14 UTC 2 6.8.0-87-generic
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
I’ve found odd bugs in the Wikilinks section link before. In the most polite way, something is bizarrely wrong with whatever is going on in that section of the code. I do not know if you guys have open sourced since I last checked, so I do not mean to be shirking this responsibility, but these bugs are really really odd.