vault backup: 2023-04-03 23:23:21

This commit is contained in:
Lucas 2023-04-03 23:23:21 +02:00
parent fb4e4b3e13
commit 08eb82796c
2 changed files with 2 additions and 1 deletions

View file

@ -132,7 +132,7 @@ async function replaceLinksWithContent(content, metadata, context, files, deep)
async function getLinkedContent(linkText, app, files) {
const file = files.find(file => file.basename === linkText);
if (!file){
const file = await app.vault.getAbstractFileByPath(linkText);
const file = await app.vault.getAbstractFileByPath(parseLinktext(linkText));
}
return file
? [file, await app.vault.read(file)]

1
Sans titre.canvas Normal file
View file

@ -0,0 +1 @@
{}