Properly quote the Google Fonts URL (#736)

This commit is contained in:
Thom Wiggers authored and gcushen committed 2018-10-18 22:23:48 +01:00
1 parent 315fb47cf7
commit edb547e64e
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@
{{/* We cannot use SRI with Google Fonts because the CSS is dynamically generated according to the user agent. */}}
{{ with ($scr.Get "google_fonts") }}
<link rel="stylesheet" {{ printf "href=//fonts.googleapis.com/css?family=%s" . | safeHTMLAttr }}>
<link rel="stylesheet" {{ printf "href=\"//fonts.googleapis.com/css?family=%s\"" . | safeHTMLAttr }}>
{{ end }}
<link rel="stylesheet" href="{{ "styles.css" | relLangURL }}">