We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc0992 commit b177db9Copy full SHA for b177db9
packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts
@@ -273,7 +273,7 @@ function generatePlaceholderUrl({
273
const aspectRatio = originalWidth / originalHeight
274
275
return url
276
- .replace(`%width%`, String(width))
277
- .replace(`%height%`, Math.floor(width / aspectRatio).toString())
278
- .replace(`%quality%`, String(quality))
+ .replaceAll(`%width%`, String(width))
+ .replaceAll(`%height%`, Math.floor(width / aspectRatio).toString())
+ .replaceAll(`%quality%`, String(quality))
279
}
0 commit comments