decaf-dev / obsidian-vault-explorer

Explore your Obsidian vault in visual format
https://vaultexplorer.com
MIT License
116 stars 4 forks source link

'Load tags from body' grabs anything with prefixed with # even if not a tag #314

Closed a-rock-lobster closed 2 months ago

a-rock-lobster commented 3 months ago

Not really an issue for me as I have the 'Load tags from body' feature turned off, but I noticed that there were lots of seemingly random tags consisting of numbers being picked up from somewhere. Then I realised they are from the citations keys I use. For example, the citation {Röpke, 2014, #110328} in a note results in #110328 being shown as a tag in the Vault Explorer. Obsidian isn't treating #110328 as a tag, it's just text.

decaf-dev commented 2 months ago

Thanks for catching this. I assumed that a tag could be a number, but it cannot.

I had made my own loader for tags, but I will just use the Obsidian metadata cache instead since it will solve this problem. It's also possible Obsidian may make subtle changes to what is a valid tag over time. Using the metadata cache will mitigate any future changes.

decaf-dev commented 2 months ago

@a-rock-lobster Fixed in 1.41.1