From ee7ca4c6e160dc04173dda2ba3ff3196ae52cc9e Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Fri, 24 Jan 2025 13:13:16 +0700 Subject: [PATCH] chore(web): also link issues near font-family fix --- web/src/engine/dom-utils/src/stylesheets.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/engine/dom-utils/src/stylesheets.ts b/web/src/engine/dom-utils/src/stylesheets.ts index c0b03b85a5..5318e28f61 100644 --- a/web/src/engine/dom-utils/src/stylesheets.ts +++ b/web/src/engine/dom-utils/src/stylesheets.ts @@ -136,7 +136,8 @@ export class StylesheetManager { } // Build the font-face definition according to the browser being used - // The OSK will similarly remove double-quotes from font-family names. (#13018, #13022) + // The OSK will similarly remove double-quotes from font-family names and double-quote + // the name itself. (#13018, #13022) var s='@font-face {\nfont-family:"' + fd.family.replace(/\u0022/g, '') + '";\nfont-style:normal;\nfont-weight:normal;\n';