Skip to content

Commit 0ddf266

Browse files
Merge pull request #208 from Spydarlee/downloaded-file-as-string
Fix download image frontmatter formatting
2 parents 9fa7348 + 9087dca commit 0ddf266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export default class MediaDbPlugin extends Plugin {
359359
}
360360

361361
// Update model to use local image path
362-
mediaTypeModel.image = `[[${imagePath}]]`;
362+
mediaTypeModel.image = `"[[${imagePath}]]"`;
363363
return true;
364364
} catch (e) {
365365
console.warn('MDB | Failed to download image:', e);

0 commit comments

Comments
 (0)