Skip to content

Commit

Permalink
CSSFontFace.partial: allow fonts with spaces in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Apr 10, 2024
1 parent 5499c78 commit e90744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffenator2/templates/CSSFontFace.partial.html
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down

0 comments on commit e90744d

Please sign in to comment.