-
-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
Description
Bug Report
Prerequisites
- Can you reproduce the problem on TYPO3 v13.4 LTS
- Can you reproduce the problem on TYPO3 v14.0 LTS
- Did you perform a cursory search
to see if your bug or enhancement is already reported?
Description
In Version 16.0 no Google Fonts Cache generated.
https://github.com/benjaminkott/bootstrap_package/blob/master/Classes/Service/GoogleFontService.php
- if Font name in $url is a Single Word (Lato) the $content Variable in L73 will become empty in L75.
- If Font Name in $url has Spaces (Source Sans Pro" the isValidHttpsUrl() Function will fail.
Steps to Reproduce
- change Fontname in Settings
- reload Page
- public/typo3temp/assets/bootstrappackage/fonts/*/ has only a empty webfont.css
Expected behavior
Fonts and webfont.css will be created
Versions
"bk2k/bootstrap-package": "^16.0.0",