mgmeyers / obsidian-kanban

Create markdown-backed Kanban boards in Obsidian.
https://publish.obsidian.md/kanban/
GNU General Public License v3.0
3.16k stars 180 forks source link

[Bug]: Duplicate link anchors when using tasks #971

Closed smarj closed 4 months ago

smarj commented 4 months ago

Describe the bug

When I use Copy link to card to create a link anchor, the link anchor gets duplicated over time. When I add tasks, they'll be duplicated at the end of the last task in a card. I've seen up to six copies before re-editing the card to remove them.

I assume this is related to syncing vaults; I'm using Obsidian Sync. I'm also using Obsidian Git to back up my vault from one of several Obsidian instances.

I chose macOS below as it's my main Obsidian platform, but I use every platform but Linux. I'm running version 2.0.50 on the running copies and haven't yet updated from 2.0.44 on some that are sleeping currently. I upgraded to see if it helped.

See this sample (while editing the card, when not editing, the grey, true links will disappear, but the other four at the end of the last task remain):

Image

Expected Behavior

Link anchors should not duplicate.

Steps to reproduce

  1. Select Copy link to card
  2. Paste it elsewhere (might be optional).
  3. Wait.

Relevant errors (if available)

No response

Operating system

macOS