Merge pull request #208 from Spydarlee/downloaded-file-as-string

Fix download image frontmatter formatting
This commit is contained in:
Moritz Jung 2025-08-30 20:05:09 +02:00 committed by GitHub
commit 0ddf266805
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);