Skip to content

Commit 2534c05

Browse files
sebastianthulinSebastian Thulin
andauthored
fix: set correct syntax in font rendering output. (#1362)
Co-authored-by: Sebastian Thulin <sebastian.thulin@helsingborg.se>
1 parent 1245dca commit 2534c05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Customizer/FontUploads/FontUploads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function addUploadedFontsToStack(array $fonts): array
104104
public function getUploadedFontsCss(): void
105105
{
106106
foreach (self::getUploadedFonts() as $font) {
107-
echo $this->wpService->wpStripAllTags("@font-face{font-display:swap;font-family:\"{$font['name']}\";src:url(\"{$font['url']}\");format(\"{$font['type']}\");}");
107+
echo $this->wpService->wpStripAllTags("@font-face{font-display:swap;font-family:\"{$font['name']}\";src:url(\"{$font['url']}\") format(\"{$font['type']}\");}");
108108
}
109109
}
110110

0 commit comments

Comments
 (0)