Adding metadata to a task breaks block references. To fix, the block ID should remain at the end of the line, after the added metadata.
Repro
tasks.md:
- [ ] report bug ^a95049
journal.md:
today i did [[tasks#^a95049]]
At this point (1) Obsidian renders the block id in smaller text, and (2) if you click on the link, Obsidian will select the task. These behaviors indicate that the block ref is valid.
Now run the command "Toggle task done and archive it".
Adding metadata to a task breaks block references. To fix, the block ID should remain at the end of the line, after the added metadata.
Repro
tasks.md:
journal.md:
At this point (1) Obsidian renders the block id in smaller text, and (2) if you click on the link, Obsidian will select the task. These behaviors indicate that the block ref is valid.
Now run the command "Toggle task done and archive it".
Actual result:
In journal.md, the link is now broken.
Expected result:
The block ID should remain at the end of the line.