next-blurhash-previews 0.0.3-beta76 → 0.0.3-beta77
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/remark-plugin.js +1 -1
- package/package.json +1 -1
package/bin/remark-plugin.js
CHANGED
@@ -39,7 +39,7 @@ export const blurhashPlugin = publicPath => () => {
|
|
39
39
|
|
40
40
|
const newNode = `
|
41
41
|
<blurhash-image url="${originalImg}" preview='${JSON.stringify(blurHash)}'>
|
42
|
-
<img alt="${alt}" width="${
|
42
|
+
<img alt="${alt}" width="${dw}" height="${dh}" src="${originalImg}" slot="image" />
|
43
43
|
<canvas width="${w}" height="${h}" style="width: ${dw}px; height: auto;" slot="preview"></canvas>
|
44
44
|
</blurhash-image>`.trim();
|
45
45
|
|