From 62fc30eeb57a6e45506b4749b3c07811a8e263d5 Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Wed, 10 Apr 2024 16:59:32 +0100 Subject: [PATCH] CSSFontFace.partial: allow fonts with spaces in filename --- src/diffenator2/templates/CSSFontFace.partial.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffenator2/templates/CSSFontFace.partial.html b/src/diffenator2/templates/CSSFontFace.partial.html index a9e93f7..d907da2 100644 --- a/src/diffenator2/templates/CSSFontFace.partial.html +++ b/src/diffenator2/templates/CSSFontFace.partial.html @@ -1,5 +1,5 @@ @font-face{ - src: url({{ filename }}); + src: url("{{ filename }}"); font-family: "{{ cssfamilyname }}"; font-weight: {{ font_weight }}; {% if font_stretch %}font-stretch: {{ font_stretch }};{% endif %}