update quotes dans family name

This commit is contained in:
Fred Tempez 2022-03-31 15:43:36 +02:00
parent 0b2f514320
commit b8016a3bc1

View File

@ -942,7 +942,7 @@ if ($this->getData(['core', 'dataVersion']) < 11400) {
if (file_exists(self::DATA_DIR . 'fonts/' . $fontName)) {
$this->setData(['fonts', 'files', $fontId, [
'name' => ucfirst($fontId),
'font-family'=> $fontId . ', sans-serif',
'font-family'=> '\'' . ucfirst($fontId) . '\', sans-serif',
'resource' => $fontName
]]);
}
@ -955,7 +955,7 @@ if ($this->getData(['core', 'dataVersion']) < 11400) {
foreach ($imported as $fontId => $fontUrl) {
$this->setData(['fonts', 'imported', $fontId, [
'name' => ucfirst($fontId),
'font-family'=> '\'' . $fontId . '\', sans-serif',
'font-family'=> '\'' . ucfirst($fontId) . '\', sans-serif',
'resource' => 'https:\\fonts.cdnfonts.com\css' . $fontUrl
]]);
}