Skip to content

Commit

Permalink
fix: #667 closed 修复视频封面无法展示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsonliu committed Dec 15, 2023
1 parent ad8e9e4 commit b38dc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/hooks/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const replacerFactory = function (type, match, leadingChar, alt, link, title, po
}
attrs = title && title.trim() !== '' ? ` title="${$e(title)}"` : '';
if (posterContent) {
attrs += ` poster=${encodeURIOnce(posterContent)}`;
attrs += ` poster="${encodeURIOnce(posterContent)}"`;
}

const processedURL = globalConfig.urlProcessor(link, type);
Expand Down

0 comments on commit b38dc15

Please sign in to comment.