Skip to content

Commit

Permalink
fix: i dont want to set src like this
Browse files Browse the repository at this point in the history
  • Loading branch information
chappelo committed Aug 18, 2024
1 parent 2e8af7f commit 245034b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/integrations/markdoc/src/content-entry-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ async function emitOptimizedImages(
globalThis.astroAsset.referencedImages.add(fsPath);
}
node.attributes[attributeName] = { ...src, fsPath };
node.attributes.src = src.src;

}
} else {
throw new MarkdocError({
Expand Down

0 comments on commit 245034b

Please sign in to comment.