diff options
Diffstat (limited to 'app/class/Modelfont.php')
-rw-r--r-- | app/class/Modelfont.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/class/Modelfont.php b/app/class/Modelfont.php index 4353b1c..be8de81 100644 --- a/app/class/Modelfont.php +++ b/app/class/Modelfont.php @@ -69,7 +69,10 @@ class Modelfont extends Model { $fontface = ''; foreach ($fontlist as $font) { - $fontface .= '@font-face {' . PHP_EOL . 'font-family: ' . $font['id'] . ';' . PHP_EOL . ' src: url( ' . Model::fontpath() . $font['id'] . '.' . $font['ext'] . ');' . PHP_EOL . '}' . PHP_EOL . PHP_EOL; + $fontface .= '@font-face {\n + font-family: ' . $font['id'] . ';\n + src: url( ' . Model::fontpath() . $font['id'] . '.' . $font['ext'] . '); + }\n\n'; } return $fontface; } |