When appending local version of remote image to frontmatter, enclose in quotes to ensure valid formatting
This commit is contained in:
parent
9fa7348ae9
commit
9087dcaf7b
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ export default class MediaDbPlugin extends Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update model to use local image path
|
// Update model to use local image path
|
||||||
mediaTypeModel.image = `[[${imagePath}]]`;
|
mediaTypeModel.image = `"[[${imagePath}]]"`;
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn('MDB | Failed to download image:', e);
|
console.warn('MDB | Failed to download image:', e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue