obsidian-folder-note-plugin icon indicating copy to clipboard operation
obsidian-folder-note-plugin copied to clipboard

folder brief images break when path has apostrophe

Open jericjan opened this issue 1 year ago • 0 comments

Basically, the CSS turns out like this:

background-image: url(app://10b7a07ec12e16844f982aa5d5bc4355d44c/C:/path/to/vault with '/image.png?1702049886735);

which leads to an invalid property value error in Devtools. The fix would be to escape the apostrophes like this:

background-image: url(app://10b7a07ec12e16844f982aa5d5bc4355d44c/C:/path/to/vault with \'/image.png?1702049886735);

jericjan avatar Dec 08 '23 15:12 jericjan