diff --git a/system/src/Grav/Common/Assets.php b/system/src/Grav/Common/Assets.php index 55b19e63c..dc72102a1 100644 --- a/system/src/Grav/Common/Assets.php +++ b/system/src/Grav/Common/Assets.php @@ -1114,7 +1114,8 @@ class Assets $file = $this->cssRewrite($file, $relative_dir); } - $buffer .= $file; + $file = rtrim($file) . PHP_EOL; + $buffer .= $file; } // Pull out @imports and move to top