chore(web): also link issues near font-family fix

This commit is contained in:
Joshua Horton 2025-01-24 13:13:16 +07:00
parent d74f5544fc
commit ee7ca4c6e1

View file

@ -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';