There was an error while loading. Please reload this page.
1 parent 56e0cf4 commit 0aa83a2Copy full SHA for 0aa83a2
1 file changed
src/satori.ts
@@ -76,7 +76,10 @@ export default async function satori(
76
// Use a null-prototype object so that text matching Object.prototype property
77
// names (e.g. "constructor", "toString") doesn't inherit truthy values from
78
// the prototype chain when we look it up via `graphemeImages[text]`.
79
- const graphemeImages = Object.assign(Object.create(null), options.graphemeImages)
+ const graphemeImages = Object.assign(
80
+ Object.create(null),
81
+ options.graphemeImages
82
+ )
83
// Some Chinese characters have different glyphs in Chinese and
84
// Japanese, but their Unicode is the same. If the user needs to display
85
// the Chinese and Japanese characters simultaneously correctly, the user
0 commit comments