Merge pull request #213 from mProjectsCode/revert-208-downloaded-file-as-string

Revert "Fix download image frontmatter formatting"
This commit is contained in:
Moritz Jung 2025-09-10 13:09:07 +02:00 committed by GitHub
commit 813c165b88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -355,7 +355,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);