mgmeyers / obsidian-zotero-integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero into Obsidian.
GNU General Public License v3.0
1.09k stars 55 forks source link

[bug] title imports colored/emoji tags #308

Open huachuman opened 1 year ago

huachuman commented 1 year ago

It seems like when a zotero item is tagged with a colored tag, it shows up inside the title when imported to Obsidian by the plugin.

My colored tags are set to emojis, so it ends up looking like this:

image

This happens no matter what I set in the options for new note titles, including @{{citekey}} and {{title}} for example. I did not add {{tags}} or anything like that.

huachuman commented 1 year ago

This is causing issues with updating notes. Zotero seems not to keep the tags consistent, meaning that it will not overwrite the exiting note. Also, if you change the tags, you will face the same issue.

There must be a way to get the title without these since they do not appear in the H1 or anywhere I call the {{title}} in a template. Also similarly note again that it doesn't matter if I use {{citekey}} in the settings, or anything else, it always adds the emojis to the note's title.

huachuman commented 10 months ago

I think this may have been the plugin causing the issue:

https://github.com/Cyfine/EmoTagsTitler

Strange, because I thought I would have disabled all plugins before submitting an issue.

Anyway I disabled that some time ago and noticed I'm no longer having the issue so anyone experiencing the same should try that too.