Skip to content

Commit

Permalink
HUGE/Fonts @font-face: Wrap font-family value in double quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
regisphilibert committed Dec 2, 2022
1 parent 21af349 commit 14d7bdc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/fonts/private/fontface.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
{{- with partialCached "huge/fonts/private/ParseFontface" . . -}}
@font-face {
{{- range $key, $val := . }}
{{- if eq $key "font-family" }}
{{ $key }}: "{{ $val }}";
{{- else }}
{{ $key }}: {{ $val }};
{{- end -}}
{{- end }}
}
{{ end }}
Expand Down

0 comments on commit 14d7bdc

Please sign in to comment.