Skip to content

Commit c1578e7

Browse files
committed
fix: update image url regex
1 parent a59fb0d commit c1578e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/on-create-node-google-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const {createRemoteFileNode} = require("gatsby-source-filesystem")
55
const {getImageUrlParameters} = require("./get-image-url-parameters")
66

77
const IMAGE_URL_REGEX =
8-
/https:\/\/[a-z0-9]*.googleusercontent\.com\/[a-zA-Z0-9_-]*/
8+
/https:\/\/[a-z0-9]*.googleusercontent\.com\/[a-zA-Z0-9_=-]*/
99
const MD_URL_TITLE_REGEX = new RegExp(
1010
`(${IMAGE_URL_REGEX.source}) "([^)]*)"`,
1111
"g"

0 commit comments

Comments
 (0)