Skip to content

Commit 813c165

Browse files
Merge pull request #213 from mProjectsCode/revert-208-downloaded-file-as-string
Revert "Fix download image frontmatter formatting"
2 parents 13f9998 + b60ca93 commit 813c165

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
@@ -355,7 +355,7 @@ export default class MediaDbPlugin extends Plugin {
355355
}
356356

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

0 commit comments

Comments
 (0)