Open cosmic-hobo opened 7 months ago
I've gotten around the colon not being valid YAML by adding quotes around the relevant fields in the citations template, e.g., "{{title}}"
rather than {{title}}
directly.
that's a great workaround, thank you!
Hi! How do you render the creation date? By me, it omits the normal {{date}} or {{time}} whenever I want to add it ...
that's what is in my template:
creation date: <% tp.file.creation_date("DD-MM-YYYY HH:mm") %>
Thanks! Had to toggle "use Templater on new notes" - your answer helped me to get to this conclusion!
Describe the bug For those literature items with a subtitle (with an auto-generated colon), obsidian displays a properties error. Since the update to V 1.4.16 on October 13, 2023, the error displays in red (see picture). The literatrue items with a single title are not affected by these behavior.
To Reproduce The error occurs when a literature note is created ("citation: open literature note")
Console output Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'removeGlobalClasses') at Zen.saveSettings (plugin:zen:464:18)
Expected behavior The properties ought to be displayed in black (see example below)
Screenshots literature item with error![Screenshot from 2023-11-27 10-41-41](https://github.com/hans/obsidian-citation-plugin/assets/104301605/de621f52-f6a4-491e-b14f-83cf2ae0c796)
literature item without error![Screenshot from 2023-11-27 10-42-15](https://github.com/hans/obsidian-citation-plugin/assets/104301605/bf92a3c3-592d-458b-856b-cf630907df75)
Platform