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 5aa33c2 commit 66e7575Copy full SHA for 66e7575
src/functions/getImages.ts
@@ -8,6 +8,9 @@ const getImages = (result: any): string[] => {
8
.filter((image: any) => {
9
return Object.prototype.hasOwnProperty.call(image, 'attribs') && Object.prototype.hasOwnProperty.call(image.attribs, 'src');
10
})
11
+ .filter((image: any) => {
12
+ return !image.attribs.src.startsWith('data:image')
13
+ })
14
.map((image: any) => {
15
if (image.attribs.src.startsWith('./')) {
16
if (result.url.endsWith('/')) {
0 commit comments