Skip to content

Commit

Permalink
Merge pull request #136 from googlefonts/ff-fix
Browse files Browse the repository at this point in the history
CSSFontFace.partial: allow fonts with spaces in filename
  • Loading branch information
m4rc1e authored Apr 10, 2024
2 parents 5499c78 + e90744d commit e667af6
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 e667af6

Please sign in to comment.