diff --git a/scripts/package-extension.js b/scripts/package-extension.js index f193c00..4de3650 100644 --- a/scripts/package-extension.js +++ b/scripts/package-extension.js @@ -200,6 +200,10 @@ async function packageExtension({ 'url("fonts/', 'url("chrome-extension://__MSG_@@extension_id__/fonts/' ) + .replaceAll( + "unicode-range: U+2C00-2C5F;", + "unicode-range: U+0301, U+2C00-2C5F;" + ) ); } diff --git a/tests/package-extension.test.js b/tests/package-extension.test.js index f1c37ac..56488af 100644 --- a/tests/package-extension.test.js +++ b/tests/package-extension.test.js @@ -146,6 +146,10 @@ test("builds a Chromium MV3 ZIP with Chromium manifest fields and raster icons", true ); } + assert.deepEqual( + [...contentCss.matchAll(/unicode-range: ([^;]+);/g)].map((match) => match[1]), + Array(4).fill("U+0301, U+2C00-2C5F") + ); for (const relativePath of CHROMIUM_ARCHIVE_FILES.filter((name) => name.endsWith(".png")