Closed ngirard closed 3 years ago
I didn't consider that at the begining. I will fix that in the next release, thanks.
For the record: the problem also arises using v0.6.1 and when using the first paragraphs as briefs.
The problem should have been fixed in v0.6.2, thanks.
By the way, I have limited the max brief length to 64, if you want a longer brief, please use the briefMax key for ccard type of folder_brief_live.
And, to escape the quotes, we should use double quotes, ''
instead of \'
, because it is YAML format.
The problem should have been fixed in v0.6.2
It has, thanks !
And, to escape the quotes, we should use double quotes, '' instead of \', because it is YAML format.
I was about to close this report, but you might want to add this information to the documentation first ?
solved.
@xpgo, you might want to add to the documentation
briefMax
value;Cheers
Corresponding explaination have already been added to the document: https://github.com/xpgo/obsidian-folder-note-plugin/blob/main/doc/ccard-syntax.md#item-types
Great, thanks !
Folder note plugin uses the section titles of notes as brief when generating its JSON data.
When a section of a note contains a quote, the corresponding
brief
attribute contains an unescaped quote, leading to incorrect JSON contents that cannot be rendered.