Merge pull request #208 from Spydarlee/downloaded-file-as-string
Fix download image frontmatter formatting
This commit is contained in:
commit
0ddf266805
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
|
||||
mediaTypeModel.image = `[[${imagePath}]]`;
|
||||
mediaTypeModel.image = `"[[${imagePath}]]"`;
|
||||
return true;
|
||||
} catch (e) {
|
||||
console.warn('MDB | Failed to download image:', e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue