diff --git a/src/utils/editor.ts b/src/utils/editor.ts index 7a225f9c1..2a4da80d8 100644 --- a/src/utils/editor.ts +++ b/src/utils/editor.ts @@ -221,7 +221,7 @@ export const extractMetadata = (body: string, thumbUrl?: string) => { const mUrls = extractUrls(body); const mUsers = body && body.match(userReg); - const matchedImages = extractImageUrls({urls:mUrls}); + const matchedImages = extractImageUrls({ urls: mUrls }); const matchedLinks = []; const matchedUsers = [];